summaryrefslogtreecommitdiff
path: root/ext/db/db.c
diff options
context:
space:
mode:
authorDaniel Beulshausen <dbeu@php.net>2001-08-14 17:46:19 +0000
committerDaniel Beulshausen <dbeu@php.net>2001-08-14 17:46:19 +0000
commit48d75026adf7fe6983afad34f3fcdc5667729dc8 (patch)
treeb925514cbfb6873bfd1d3c6808b3cf066a48895d /ext/db/db.c
parent4580df108079b8213a1788dd911a4636478dc098 (diff)
downloadphp-git-48d75026adf7fe6983afad34f3fcdc5667729dc8.tar.gz
depreciated, but should build anyway...
Diffstat (limited to 'ext/db/db.c')
-rw-r--r--ext/db/db.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/db/db.c b/ext/db/db.c
index 6ea3bdb83a..21a1c3bdfe 100644
--- a/ext/db/db.c
+++ b/ext/db/db.c
@@ -252,11 +252,13 @@ PHP_MINFO_FUNCTION(db)
Describes the dbm-compatible library being used */
PHP_FUNCTION(dblist)
{
+ char *str;
+
if (ZEND_NUM_ARGS() != 0) {
WRONG_PARAM_COUNT;
}
- char *str = php_get_info_db();
+ str = php_get_info_db();
RETURN_STRING(str, 1);
}
/* }}} */