[srm-cvs] CVS Update: - Fix ZTS build (patch by Sebastian Bergmann <sb@sebastian-bergmann.de>)

From: <d.rethans[@]jdimedia.nl>
Date: Mon Jan 13 2003 - 10:19:25 CET

Date: Mon Jan 13 10:19:24 CET 2003
User: Derick Rethans
Directory: php_srm

Log Message:
 [0.25]
 - Fix ZTS build (patch by Sebastian Bergmann <sb@sebastian-bergmann.de>)
 
Modified files:
           php_srm/srm.c (version: 1.43)

[FILE: /php_srm/srm.c]

--- php_srm/srm.c:1.42 Fri Jun 07 19:45:15 2002 GMT
+++ php_srm/srm.c Mon Jan 13 08:19:23 2003 GMT
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: cvstemp,v 1.42 2002/06/07 21:45:15 sniper Exp $ */
+/* $Id: cvstemp,v 1.43 2003/01/13 09:19:23 derick Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -84,7 +84,7 @@
 
 /* {{{ check_for_correct_handler (property_reference, conn_id)
    This function checks if a link is still active */
-static char* check_for_correct_handler (zend_property_reference *property_reference, zval*** conn_id)
+static char* check_for_correct_handler (zend_property_reference *property_reference, zval*** conn_id TSRMLS_DC)
 {
         char *array_name;
         char *index;
@@ -221,7 +221,7 @@
 
 #warning fixme: use efree
         result = malloc (sizeof(zval));
- index = check_for_correct_handler (property_reference, (zval ***) &conn_id);
+ index = check_for_correct_handler (property_reference, (zval ***) &conn_id TSRMLS_CC);
         ZVAL_NULL (result);
 
         if (index != NULL) {
@@ -257,7 +257,7 @@
 
         TSRMLS_FETCH();
 
- index = check_for_correct_handler (property_reference, (zval ***) &conn_id);
+ index = check_for_correct_handler (property_reference, (zval ***) &conn_id TSRMLS_CC);
 
         if (index != NULL) {
                 FETCH_CONN_ID(connect_data, connect_data_t *, conn_id, -1, "SRM link", le_srm);
Received on Mon Jan 13 09:56:26 2003

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 09:00:03 CET