From: Frank M. Kromann Date: Tue, 26 Nov 2002 23:03:07 +0000 (+0000) Subject: time is a function. Use the name of the variable 'timestamp' X-Git-Tag: RELEASE_1_0b3~283 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f927c1a2e6ac8e07480e886b2fb6943d2d49e35;p=php time is a function. Use the name of the variable 'timestamp' --- diff --git a/ext/rpc/xmlrpc/xmlrpc-epi-php.c b/ext/rpc/xmlrpc/xmlrpc-epi-php.c index 8ffa8ce989..b814a0e9b4 100644 --- a/ext/rpc/xmlrpc/xmlrpc-epi-php.c +++ b/ext/rpc/xmlrpc/xmlrpc-epi-php.c @@ -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); diff --git a/ext/xmlrpc/xmlrpc-epi-php.c b/ext/xmlrpc/xmlrpc-epi-php.c index 8ffa8ce989..b814a0e9b4 100644 --- a/ext/xmlrpc/xmlrpc-epi-php.c +++ b/ext/xmlrpc/xmlrpc-epi-php.c @@ -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);