rasmus Fri Oct 4 14:01:53 2002 EDT
Modified files:
/php4/ext/sockets sockets.c
Log:
Kill warning
Index: php4/ext/sockets/sockets.c
diff -u php4/ext/sockets/sockets.c:1.123 php4/ext/sockets/sockets.c:1.124
--- php4/ext/sockets/sockets.c:1.123 Sun Sep 29 22:09:42 2002
+++ php4/ext/sockets/sockets.c Fri Oct 4 14:01:52 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sockets.c,v 1.123 2002/09/30 02:09:42 jason Exp $ */
+/* $Id: sockets.c,v 1.124 2002/10/04 18:01:52 rasmus Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -474,7 +474,7 @@
/* {{{ PHP_RINIT_FUNCTION */
PHP_RINIT_FUNCTION(sockets)
{
- if (SOCKETS_G(strerror_buf) = emalloc(16384))
+ if ((SOCKETS_G(strerror_buf) = emalloc(16384)))
return SUCCESS;
return FAILURE;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php