]> granicus.if.org Git - php/commitdiff
@- Fix mSQL_close(). (nick@loman.net)
authorThies C. Arntzen <thies@php.net>
Wed, 9 Aug 2000 17:56:42 +0000 (17:56 +0000)
committerThies C. Arntzen <thies@php.net>
Wed, 9 Aug 2000 17:56:42 +0000 (17:56 +0000)
# i haven't tried it (don't have msql) , but this patch seems really needed!

ext/msql/php_msql.c

index d2bdc8a1afda084c73739b8e0607bdfdb57107d6..e33f08943a2345211b7f3d32917024714f754940 100644 (file)
@@ -333,7 +333,7 @@ static void php_msql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
                }
 
                /* add it to the list */
-               ZEND_REGISTER_RESOURCE(return_value, (void *) msql, msql_globals.le_plink);
+               ZEND_REGISTER_RESOURCE(return_value, (void *) msql, msql_globals.le_link);
                
                /* add it to the hash */
                new_index_ptr.ptr = (void *) return_value->value.lval;