derick Sun Apr 9 12:58:29 2006 UTC
Modified files:
/php-src/ext/date php_date.c
Log:
- Fixed superfluous parameter.
http://cvs.php.net/viewcvs.cgi/php-src/ext/date/php_date.c?r1=1.90&r2=1.91&diff_format=u
Index: php-src/ext/date/php_date.c
diff -u php-src/ext/date/php_date.c:1.90 php-src/ext/date/php_date.c:1.91
--- php-src/ext/date/php_date.c:1.90 Sat Apr 8 14:57:41 2006
+++ php-src/ext/date/php_date.c Sun Apr 9 12:58:29 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_date.c,v 1.90 2006/04/08 14:57:41 derick Exp $ */
+/* $Id: php_date.c,v 1.91 2006/04/09 12:58:29 derick Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -947,7 +947,7 @@
tzi = get_timezone_info(TSRMLS_C);
- if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS()
TSRMLS_CC, "sl|l", ×, &time_len, &preset_ts) != FAILURE) {
+ if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS()
TSRMLS_CC, "sl", ×, &time_len, &preset_ts) != FAILURE) {
/* We have an initial timestamp */
now = timelib_time_ctor();
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php