]> granicus.if.org Git - php/commitdiff
K&R format changes
authorSterling Hughes <sterling@php.net>
Sat, 18 Aug 2001 08:43:47 +0000 (08:43 +0000)
committerSterling Hughes <sterling@php.net>
Sat, 18 Aug 2001 08:43:47 +0000 (08:43 +0000)
ext/standard/fsock.c

index 9ad910730b7a998c0926bcec90cb70855c0af13b..5efa650e0e982cd661fa311618c39136dcbeaa3e 100644 (file)
@@ -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]);