From: Sebastian Bergmann Date: Mon, 14 Jul 2003 05:52:57 +0000 (+0000) Subject: ZTS fix. X-Git-Tag: BEFORE_ARG_INFO~256 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83bf4599b773815e5bea651bce5db7d0b56c94f1;p=php ZTS fix. --- diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c index 9b654a7214..cdac6ba1ac 100644 --- a/ext/sqlite/sqlite.c +++ b/ext/sqlite/sqlite.c @@ -1081,7 +1081,7 @@ PHP_FUNCTION(sqlite_popen) int type; /* sanity check to ensure that the resource is still a valid regular resource * number */ - if (_zend_list_find(db->rsrc_id, &type) == db) { + if (_zend_list_find(db->rsrc_id, &type TSRMLS_CC) == db) { /* already accessed this request; map it */ zend_list_addref(db->rsrc_id); ZVAL_RESOURCE(return_value, db->rsrc_id);