From: Sara Golemon Date: Mon, 7 Jun 2004 04:42:40 +0000 (+0000) Subject: Missing length limit parameter. X-Git-Tag: php-4.3.9RC1~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2080e2fb4a87286dd1ab5a8a33a35f839de866e0;p=php Missing length limit parameter. --- diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 5a62d53de1..ab425be019 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -350,7 +350,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