summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2003-01-06 14:12:40 +0000
committerGeorg Richter <georg@php.net>2003-01-06 14:12:40 +0000
commit9a2babf4b63d2f73c35a5d2969a8639b7cc9036a (patch)
tree7f9212ab9c9a8f65d4b189f9dc98458efcf20abd /ext/mysql/php_mysql.c
parentb89acbbc31a9ceecaac62eb4616dac0c7b60a77a (diff)
downloadphp-git-9a2babf4b63d2f73c35a5d2969a8639b7cc9036a.tar.gz
fixed a missing & (Thx to Sebastian Bergmann
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index e5cb6bb366..60358e93b7 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -1001,7 +1001,7 @@ PHP_FUNCTION(mysql_info)
CHECK_LINK(id);
}
- ZEND_FETCH_RESOURCE2(mysql, php_mysql_conn *, mysql_link, id, "MySQL-Link", le_link, le_plink);
+ ZEND_FETCH_RESOURCE2(mysql, php_mysql_conn *, &mysql_link, id, "MySQL-Link", le_link, le_plink);
if ((str = (char *)mysql_info(&mysql->conn))) {
RETURN_STRING(str,1);