diff options
author | Sterling Hughes <sterling@php.net> | 2001-08-18 08:43:47 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2001-08-18 08:43:47 +0000 |
commit | 807b49aa2f27ee63c612319f387c01ec66bfab90 (patch) | |
tree | 4ba979b5857156b65f01d11be2a8afdf77e60407 /ext/standard/fsock.c | |
parent | 15b1e4ba9c4d7ee231d9c17ced2d63d8a89ad1ce (diff) | |
download | php-git-807b49aa2f27ee63c612319f387c01ec66bfab90.tar.gz |
K&R format changes
Diffstat (limited to 'ext/standard/fsock.c')
-rw-r--r-- | ext/standard/fsock.c | 28 |
1 files changed, 14 insertions, 14 deletions
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]); |