]> granicus.if.org Git - php/commitdiff
CS fix
authorfoobar <sniper@php.net>
Sat, 15 Jan 2005 04:50:26 +0000 (04:50 +0000)
committerfoobar <sniper@php.net>
Sat, 15 Jan 2005 04:50:26 +0000 (04:50 +0000)
ext/standard/streamsfuncs.c

index da7613858bfa77fbafc80873c031ab76b03e624f..1cd3e95ef9afd42f508919a00c20d36023c11fc8 100644 (file)
@@ -260,11 +260,12 @@ PHP_FUNCTION(stream_socket_accept)
                                &tv, &errstr
                                TSRMLS_CC) && clistream) {
 
-               if (peername) {Z_TYPE_P(peername) = IS_STRING;}
+               if (peername) {
+                       Z_TYPE_P(peername) = IS_STRING;
+               }
                php_stream_to_zval(clistream, return_value);
        } else {
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "accept failed: %s", errstr ? errstr : "Unknown error");
-
                RETVAL_FALSE;
        }