felipe          Fri May 22 12:50:44 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/xmlrpc xmlrpc-epi-php.c 
  Log:
  - MFH: Fixed invalid date checking
  
http://cvs.php.net/viewvc.cgi/php-src/ext/xmlrpc/xmlrpc-epi-php.c?r1=1.39.2.5.2.16&r2=1.39.2.5.2.17&diff_format=u
Index: php-src/ext/xmlrpc/xmlrpc-epi-php.c
diff -u php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.39.2.5.2.16 
php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.39.2.5.2.17
--- php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.39.2.5.2.16   Thu May 14 12:36:19 2009
+++ php-src/ext/xmlrpc/xmlrpc-epi-php.c Fri May 22 12:50:44 2009
@@ -51,7 +51,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: xmlrpc-epi-php.c,v 1.39.2.5.2.16 2009/05/14 12:36:19 iliaa Exp $ */
+/* $Id: xmlrpc-epi-php.c,v 1.39.2.5.2.17 2009/05/22 12:50:44 felipe Exp $ */
 
 /**********************************************************************
 * BUGS:                                                               *
@@ -1302,7 +1302,7 @@
                                XMLRPC_VALUE v = 
XMLRPC_CreateValueDateTime_ISO8601(NULL, value->value.str.val);
                                if(v) {
                                        time_t timestamp = (time_t) 
php_parse_date((char *)XMLRPC_GetValueDateTime_ISO8601(v), NULL);
-                                       if(timestamp) {
+                                       if (timestamp != -1) {
                                                zval* ztimestamp;
 
                                                MAKE_STD_ZVAL(ztimestamp);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to