]> granicus.if.org Git - php/commitdiff
Fix build
authorAndrey Hristov <andrey@php.net>
Fri, 9 Nov 2007 11:06:07 +0000 (11:06 +0000)
committerAndrey Hristov <andrey@php.net>
Fri, 9 Nov 2007 11:06:07 +0000 (11:06 +0000)
ext/mysqli/mysqli_nonapi.c

index 87b33f438982dc0f5738b96fbc1a032941f3fc09..b429ca60fbf11b51db3d77b45554829dfee4c401 100644 (file)
@@ -148,7 +148,7 @@ PHP_FUNCTION(mysqli_connect)
                                le.type = php_le_pmysqli();
                                le.ptr = plist = calloc(1, sizeof(mysqli_plist_entry));
 
-                               zend_ptr_stack_init(&plist->free_links, 1);
+                               zend_ptr_stack_init_ex(&plist->free_links, 1);
                                zend_hash_update(&EG(persistent_list), hash_key, hash_len + 1, (void *)&le, sizeof(le), NULL);
                        }
                }