summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark L. Woodward <mlwmohawk@php.net>2002-02-04 18:01:40 +0000
committerMark L. Woodward <mlwmohawk@php.net>2002-02-04 18:01:40 +0000
commitaa96e0e756ccfe3fb1a324c346702c199fd015d3 (patch)
tree78d232c3da3f2f6002196337f9ba0d34ec710d18
parent6abc3278554c0913caa15bf0439fad2d49d5ed13 (diff)
downloadphp-git-aa96e0e756ccfe3fb1a324c346702c199fd015d3.tar.gz
Restored backward compatibility to PHP 4.0.6
-rw-r--r--ext/msession/msession.c6
1 files changed, 5 insertions, 1 deletions
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;