]> granicus.if.org Git - php/commitdiff
ZTS fix.
authorSebastian Bergmann <sebastian@php.net>
Mon, 14 Jul 2003 05:52:57 +0000 (05:52 +0000)
committerSebastian Bergmann <sebastian@php.net>
Mon, 14 Jul 2003 05:52:57 +0000 (05:52 +0000)
ext/sqlite/sqlite.c

index 9b654a7214c099182fa5eecbe1e2316c48f9d271..cdac6ba1ac76068d2064a7d4f75ffc9290f213a6 100644 (file)
@@ -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);