diff options
Diffstat (limited to 'ext/sockets/sockets.c')
-rw-r--r-- | ext/sockets/sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 4aeaeecf9d..8f2a329c35 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -322,7 +322,7 @@ static char *php_strerror(int error TSRMLS_DC) buf = hstrerror(error); #else { - spprintf(&(SOCKETS_G(strerror_buf)), "Host lookup error %d", error); + spprintf(&(SOCKETS_G(strerror_buf)), 0, "Host lookup error %d", error); buf = SOCKETS_G(strerror_buf); } #endif |