From: Sara Golemon Date: Mon, 7 Jun 2004 05:00:37 +0000 (+0000) Subject: MFB: Missing length limit parameter. X-Git-Tag: php-5.0.0RC3~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3838fb99dea007b1b42d4735808500168e996cb3;p=php MFB: Missing length limit parameter. --- 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