summaryrefslogtreecommitdiff
path: root/ext/odbc
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-09-16 09:13:19 (GMT)
committerPierre Joye <pajoye@php.net>2010-09-16 09:13:19 (GMT)
commitaa0ed267a29b83099715c48f25bcbf9642bf7bb2 (patch)
treed834f5f091ed0a5681caa816a41c5de8f2eb1cb3 /ext/odbc
parent14e77486e06e21bfc29d80327bdb85ff7e1f0bfa (diff)
downloadphp-aa0ed267a29b83099715c48f25bcbf9642bf7bb2.tar.gz
- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert
Diffstat (limited to 'ext/odbc')
-rw-r--r--ext/odbc/birdstep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/odbc/birdstep.c b/ext/odbc/birdstep.c
index 1fe2a88..bc6779b 100644
--- a/ext/odbc/birdstep.c
+++ b/ext/odbc/birdstep.c
@@ -224,11 +224,11 @@ PHP_MSHUTDOWN_FUNCTION(birdstep)
/* Some internal functions. Connections and result manupulate */
-static int birdstep_add_conn(HashTable *list,VConn *conn,HDBC hdbc)
+static int birdstep_add_conn(HashTable *list,VConn *conn,HDBC hdbc TSRMLS_DC)
{
int ind;
- ind = zend_list_insert(conn,php_birdstep_module.le_link);
+ ind = zend_list_insert(conn,php_birdstep_module.le_link TSRMLS_CC);
conn->hdbc = hdbc;
conn->index = ind;
@@ -314,7 +314,7 @@ PHP_FUNCTION(birdstep_connect)
RETURN_FALSE;
}
new = (VConn *)emalloc(sizeof(VConn));
- ind = birdstep_add_conn(list,new,hdbc);
+ ind = birdstep_add_conn(list,new,hdbc TSRMLS_CC);
php_birdstep_module.num_links++;
RETURN_LONG(ind);
}