cvs: php4 /ext/standard fsock.c

From: Date: Sat, 18 Aug 2001 08:43:48 +0000
Subject: cvs: php4 /ext/standard fsock.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-6930@lists.php.net to get a copy of this message
sterling Sat Aug 18 04:43:48 2001 EDT Modified files: /php4/ext/standard fsock.c Log: K&R format changes Index: php4/ext/standard/fsock.c diff -u php4/ext/standard/fsock.c:1.78 php4/ext/standard/fsock.c:1.79 --- php4/ext/standard/fsock.c:1.78 Fri Aug 17 03:07:34 2001 +++ php4/ext/standard/fsock.c Sat Aug 18 04:43:47 2001 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: fsock.c,v 1.78 2001/08/17 07:07:34 sterling Exp $ */ +/* $Id: fsock.c,v 1.79 2001/08/18 08:43:47 sterling Exp $ */ /* Synced with php 3.0 revision 1.121 1999-06-18 [ssb] */ /* Synced with php 3.0 revision 1.133 1999-07-21 [sas] */ @@ -174,20 +174,20 @@ 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]);

« previous php.cvs (#6930) next »