From aa96e0e756ccfe3fb1a324c346702c199fd015d3 Mon Sep 17 00:00:00 2001 From: "Mark L. Woodward" Date: Mon, 4 Feb 2002 18:01:40 +0000 Subject: [PATCH] Restored backward compatibility to PHP 4.0.6 --- ext/msession/msession.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.50.1