cvs: php4 /ext/standard datetime.c

From: Date: Mon, 06 May 2002 21:44:43 +0000
Subject: cvs: php4 /ext/standard datetime.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11731@lists.php.net to get a copy of this message
mfischer Mon May 6 17:44:43 2002 EDT Modified files: /php4/ext/standard datetime.c Log: - WS fix as pointed out by fabwash@hotmail.com Index: php4/ext/standard/datetime.c diff -u php4/ext/standard/datetime.c:1.85 php4/ext/standard/datetime.c:1.86 --- php4/ext/standard/datetime.c:1.85 Sat Mar 9 06:23:48 2002 +++ php4/ext/standard/datetime.c Mon May 6 17:44:43 2002 @@ -19,7 +19,7 @@ */ -/* $Id: datetime.c,v 1.85 2002/03/09 11:23:48 sander Exp $ */ +/* $Id: datetime.c,v 1.86 2002/05/06 21:44:43 mfischer Exp $ */ #include "php.h" @@ -594,10 +594,10 @@ assoc_array = Z_LVAL_PP(assoc_array_arg); break; } - if (NULL == (ta = php_localtime_r(&timestamp, &tmbuf))) { - php_error(E_WARNING, "%s(): invalid local time", - get_active_function_name(TSRMLS_C)); - RETURN_FALSE; + if (NULL == (ta = php_localtime_r(&timestamp, &tmbuf))) { + php_error(E_WARNING, "%s(): invalid local time", + get_active_function_name(TSRMLS_C)); + RETURN_FALSE; } if (array_init(return_value) == FAILURE) { php_error(E_ERROR, "Cannot prepare return array from localtime");

« previous php.cvs (#11731) next »