Skip to content

Commit 807b49a

Browse files
author
Sterling Hughes
committed
K&R format changes
1 parent 15b1e4b commit 807b49a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

ext/standard/fsock.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -174,20 +174,20 @@ static void php_fsockopen(INTERNAL_FUNCTION_PARAMETERS, int persistent) {
174174
WRONG_PARAM_COUNT;
175175
}
176176
switch(arg_count) {
177-
case 5:
178-
convert_to_double_ex(args[4]);
179-
conv = (unsigned long) (Z_DVAL_PP(args[4]) * 1000000.0);
180-
timeout.tv_sec = conv / 1000000;
181-
timeout.tv_usec = conv % 1000000;
182-
/* fall-through */
183-
case 4:
184-
zval_ptr_dtor(args[3]);
185-
ZVAL_STRING(*args[3], "", 1);
186-
/* fall-through */
187-
case 3:
188-
zval_ptr_dtor(args[2]);
189-
ZVAL_LONG(*args[2], 0);
190-
break;
177+
case 5:
178+
convert_to_double_ex(args[4]);
179+
conv = (unsigned long) (Z_DVAL_PP(args[4]) * 1000000.0);
180+
timeout.tv_sec = conv / 1000000;
181+
timeout.tv_usec = conv % 1000000;
182+
/* fall-through */
183+
case 4:
184+
zval_ptr_dtor(args[3]);
185+
ZVAL_STRING(*args[3], "", 1);
186+
/* fall-through */
187+
case 3:
188+
zval_ptr_dtor(args[2]);
189+
ZVAL_LONG(*args[2], 0);
190+
break;
191191
}
192192
convert_to_string_ex(args[0]);
193193
convert_to_long_ex(args[1]);

0 commit comments

Comments
 (0)