]> granicus.if.org Git - php/commitdiff
time is a function. Use the name of the variable 'timestamp'
authorFrank M. Kromann <fmk@php.net>
Tue, 26 Nov 2002 23:03:07 +0000 (23:03 +0000)
committerFrank M. Kromann <fmk@php.net>
Tue, 26 Nov 2002 23:03:07 +0000 (23:03 +0000)
ext/rpc/xmlrpc/xmlrpc-epi-php.c
ext/xmlrpc/xmlrpc-epi-php.c

index 8ffa8ce9899f0e7ae3781f4e44d8bf296c7d88b2..b814a0e9b47eeeb092ddd6045ef4b3a2a2b8117f 100644 (file)
@@ -1336,7 +1336,7 @@ int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype)
             XMLRPC_VALUE v = XMLRPC_CreateValueDateTime_ISO8601(NULL, value->value.str.val);
             if(v) {
                time_t timestamp = XMLRPC_GetValueDateTime(v);
-               if(time) {
+               if(timestamp) {
                   pval* ztimestamp;
 
                   MAKE_STD_ZVAL(ztimestamp);
index 8ffa8ce9899f0e7ae3781f4e44d8bf296c7d88b2..b814a0e9b47eeeb092ddd6045ef4b3a2a2b8117f 100644 (file)
@@ -1336,7 +1336,7 @@ int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype)
             XMLRPC_VALUE v = XMLRPC_CreateValueDateTime_ISO8601(NULL, value->value.str.val);
             if(v) {
                time_t timestamp = XMLRPC_GetValueDateTime(v);
-               if(time) {
+               if(timestamp) {
                   pval* ztimestamp;
 
                   MAKE_STD_ZVAL(ztimestamp);