summaryrefslogtreecommitdiff
path: root/ext/msql
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2000-08-09 17:56:42 +0000
committerThies C. Arntzen <thies@php.net>2000-08-09 17:56:42 +0000
commitf0203f6288b4e6a789907e141f07d31c374106c2 (patch)
tree14fa3a2f6f7e69a4217fe80f97252d5bb9e7be11 /ext/msql
parent01a83f8cb02db93e9fac60647a7813742423f73c (diff)
downloadphp-git-f0203f6288b4e6a789907e141f07d31c374106c2.tar.gz
@- Fix mSQL_close(). (nick@loman.net)
# i haven't tried it (don't have msql) , but this patch seems really needed!
Diffstat (limited to 'ext/msql')
-rw-r--r--ext/msql/php_msql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/msql/php_msql.c b/ext/msql/php_msql.c
index d2bdc8a1af..e33f08943a 100644
--- a/ext/msql/php_msql.c
+++ b/ext/msql/php_msql.c
@@ -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;