]> granicus.if.org Git - php/commitdiff
MFB: Missing length limit parameter.
authorSara Golemon <pollita@php.net>
Mon, 7 Jun 2004 05:00:37 +0000 (05:00 +0000)
committerSara Golemon <pollita@php.net>
Mon, 7 Jun 2004 05:00:37 +0000 (05:00 +0000)
ext/sockets/sockets.c

index 4aeaeecf9d439714d0fab30a01149172590d6de4..8f2a329c353821b4a0a0371e7ea2794a743bf376 100644 (file)
@@ -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