From: Sterling Hughes Date: Sat, 18 Aug 2001 08:43:47 +0000 (+0000) Subject: K&R format changes X-Git-Tag: PRE_SUBST_Z_MACROS~460 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=807b49aa2f27ee63c612319f387c01ec66bfab90;p=php K&R format changes --- diff --git a/ext/standard/fsock.c b/ext/standard/fsock.c index 9ad910730b..5efa650e0e 100644 --- a/ext/standard/fsock.c +++ b/ext/standard/fsock.c @@ -174,20 +174,20 @@ static void php_fsockopen(INTERNAL_FUNCTION_PARAMETERS, int persistent) { WRONG_PARAM_COUNT; } switch(arg_count) { - case 5: - convert_to_double_ex(args[4]); - conv = (unsigned long) (Z_DVAL_PP(args[4]) * 1000000.0); - timeout.tv_sec = conv / 1000000; - timeout.tv_usec = conv % 1000000; - /* fall-through */ - case 4: - zval_ptr_dtor(args[3]); - ZVAL_STRING(*args[3], "", 1); - /* fall-through */ - case 3: - zval_ptr_dtor(args[2]); - ZVAL_LONG(*args[2], 0); - break; + case 5: + convert_to_double_ex(args[4]); + conv = (unsigned long) (Z_DVAL_PP(args[4]) * 1000000.0); + timeout.tv_sec = conv / 1000000; + timeout.tv_usec = conv % 1000000; + /* fall-through */ + case 4: + zval_ptr_dtor(args[3]); + ZVAL_STRING(*args[3], "", 1); + /* fall-through */ + case 3: + zval_ptr_dtor(args[2]); + ZVAL_LONG(*args[2], 0); + break; } convert_to_string_ex(args[0]); convert_to_long_ex(args[1]);