cvs: pecl /soap soap.c

From: Date: Fri, 09 Jan 2004 01:05:01 +0000
Subject: cvs: pecl /soap soap.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-698@lists.php.net to get a copy of this message
iliaa Thu Jan 8 20:05:01 2004 EDT Modified files: /pecl/soap soap.c Log: Fixed compile failure of session extension is not present. Index: pecl/soap/soap.c diff -u pecl/soap/soap.c:1.21 pecl/soap/soap.c:1.22 --- pecl/soap/soap.c:1.21 Thu Jan 8 10:27:50 2004 +++ pecl/soap/soap.c Thu Jan 8 20:05:01 2004 @@ -1096,6 +1096,7 @@ if(service->type == SOAP_CLASS) { soap_obj = NULL; +#if HAVE_PHP_SESSION /* If persistent then set soap_obj from from the previous created session (if available) */ if(service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) { @@ -1111,7 +1112,7 @@ soap_obj = *tmp_soap; } } - +#endif /* If new session or something wierd happned */ if(soap_obj == NULL) { @@ -1132,7 +1133,7 @@ zval_dtor(&constructor); zval_dtor(&c_ret); } - +#if HAVE_PHP_SESSION /* If session then update session hash with new object */ if(service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) { @@ -1141,6 +1142,7 @@ soap_obj = *tmp_soap_pp; } else +#endif soap_obj = tmp_soap; } /* function_table = &(soap_obj->value.obj.ce->function_table);*/

« previous php.pecl.cvs (#698) next »