diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/sockets/sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 65ac84b85f..3ac20d4c0b 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); |
