From 83bf4599b773815e5bea651bce5db7d0b56c94f1 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Mon, 14 Jul 2003 05:52:57 +0000 Subject: [PATCH] ZTS fix. --- ext/sqlite/sqlite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1