]> granicus.if.org Git - php/commitdiff
fixed missing & (Thx to Sebastian Bergmann)
authorGeorg Richter <georg@php.net>
Mon, 6 Jan 2003 14:13:47 +0000 (14:13 +0000)
committerGeorg Richter <georg@php.net>
Mon, 6 Jan 2003 14:13:47 +0000 (14:13 +0000)
ext/mysql/php_mysql.c

index e5cb6bb366671c3b255e2cec022ed14176fffcde..60358e93b723a6072aebd08ed7e291ea7ead743e 100644 (file)
@@ -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);