]> granicus.if.org Git - php/commitdiff
Cleanup, as suggested by Andi.
authorSebastian Bergmann <sebastian@php.net>
Sat, 19 Jul 2003 11:00:17 +0000 (11:00 +0000)
committerSebastian Bergmann <sebastian@php.net>
Sat, 19 Jul 2003 11:00:17 +0000 (11:00 +0000)
ext/sqlite/sqlite.c

index cdac6ba1ac76068d2064a7d4f75ffc9290f213a6..701735c15ed78aa99e9b19dad2a0aeae15a8c8a6 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 TSRMLS_CC) == db) {
+                               if (zend_list_find(db->rsrc_id, &type) == db) {
                                        /* already accessed this request; map it */
                                        zend_list_addref(db->rsrc_id);
                                        ZVAL_RESOURCE(return_value, db->rsrc_id);