diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 65ac84b85ff..3ac20d4c0bd 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -341,7 +341,7 @@ static char *php_strerror(int error) { #ifndef PHP_WIN32 if (error < -10000) { error += 10000; - error=-error; + error = -error; #ifdef HAVE_HSTRERROR buf = hstrerror(error);