summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2002-10-04 18:01:52 +0000
committerRasmus Lerdorf <rasmus@php.net>2002-10-04 18:01:52 +0000
commit2ca6f26918f21e087c9f702f59a8ee1fcb2ba306 (patch)
tree80f1936b26118206199fee3da1df2a56d7b09b19
parent189ce6a3089bfa969f4841ba3946840f8d67cabe (diff)
downloadphp-git-2ca6f26918f21e087c9f702f59a8ee1fcb2ba306.tar.gz
Kill warning
-rw-r--r--ext/sockets/sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c
index c7be37a98e..998a26b82c 100644
--- a/ext/sockets/sockets.c
+++ b/ext/sockets/sockets.c
@@ -474,7 +474,7 @@ PHP_MINFO_FUNCTION(sockets)
/* {{{ 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;