diff options
| author | Daniel Beulshausen <dbeu@php.net> | 2001-08-14 17:46:19 +0000 |
|---|---|---|
| committer | Daniel Beulshausen <dbeu@php.net> | 2001-08-14 17:46:19 +0000 |
| commit | 48d75026adf7fe6983afad34f3fcdc5667729dc8 (patch) | |
| tree | b925514cbfb6873bfd1d3c6808b3cf066a48895d /ext/db/db.c | |
| parent | 4580df108079b8213a1788dd911a4636478dc098 (diff) | |
| download | php-git-48d75026adf7fe6983afad34f3fcdc5667729dc8.tar.gz | |
depreciated, but should build anyway...
Diffstat (limited to 'ext/db/db.c')
| -rw-r--r-- | ext/db/db.c | 4 |
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); } /* }}} */ |
