]> granicus.if.org Git - php/commitdiff
Restored backward compatibility to PHP 4.0.6
authorMark L. Woodward <mlwmohawk@php.net>
Mon, 4 Feb 2002 18:01:40 +0000 (18:01 +0000)
committerMark L. Woodward <mlwmohawk@php.net>
Mon, 4 Feb 2002 18:01:40 +0000 (18:01 +0000)
ext/msession/msession.c

index 68f9c86f19c9f091968e196c37024927b9fe9eaf..302cee2c1933747bde2e15734dd84d0767bd2643 100644 (file)
@@ -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;