pollita Mon Jun 7 00:42:41 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/sockets sockets.c Log: Missing length limit parameter. http://cvs.php.net/diff.php/php-src/ext/sockets/sockets.c?r1=1.125.2.23&r2=1.125.2.24&ty=u Index: php-src/ext/sockets/sockets.c diff -u php-src/ext/sockets/sockets.c:1.125.2.23 php-src/ext/sockets/sockets.c:1.125.2.24 --- php-src/ext/sockets/sockets.c:1.125.2.23 Wed May 26 02:54:00 2004 +++ php-src/ext/sockets/sockets.c Mon Jun 7 00:42:40 2004 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sockets.c,v 1.125.2.23 2004/05/26 06:54:00 derick Exp $ */ +/* $Id: sockets.c,v 1.125.2.24 2004/06/07 04:42:40 pollita Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -350,7 +350,7 @@ 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
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php