Skip to content

Commit 2ca6f26

Browse files
committed
Kill warning
1 parent 189ce6a commit 2ca6f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/sockets/sockets.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ PHP_MINFO_FUNCTION(sockets)
474474
/* {{{ PHP_RINIT_FUNCTION */
475475
PHP_RINIT_FUNCTION(sockets)
476476
{
477-
if (SOCKETS_G(strerror_buf) = emalloc(16384))
477+
if ((SOCKETS_G(strerror_buf) = emalloc(16384)))
478478
return SUCCESS;
479479

480480
return FAILURE;

0 commit comments

Comments
 (0)