From: Mark L. Woodward Date: Mon, 4 Feb 2002 18:01:40 +0000 (+0000) Subject: Restored backward compatibility to PHP 4.0.6 X-Git-Tag: BEFORE_NEW_OBJECT_MODEL~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa96e0e756ccfe3fb1a324c346702c199fd015d3;p=php Restored backward compatibility to PHP 4.0.6 --- diff --git a/ext/msession/msession.c b/ext/msession/msession.c index 68f9c86f19..302cee2c19 100644 --- a/ext/msession/msession.c +++ b/ext/msession/msession.c @@ -187,7 +187,7 @@ int PHPMsessionConnect(const char *szhost, int nport) if(s_conn) { CloseReqConn(s_conn); - php_log_err("Call to connect with non-null s_conn" TSRMLS_CC); + php_log_err("Call to connect with non-null s_conn"); } if(strcmp(s_szhost, szhost)) { @@ -824,7 +824,11 @@ PHP_FUNCTION(msession_set_array) HashPosition pos; zval **entry; char *key; +#if ZEND_MODULE_API_NO >= 20010901 uint keylen; +#else + ulong keylen; +#endif ulong numndx; int ndx=0; char **pairs;