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

index 5a62d53de18c12120440acc1eccc27d7ff0eb97f..ab425be019604973b0f313ff8512707b65bea557 100644 (file)
@@ -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