summaryrefslogtreecommitdiff
path: root/ext/sybase/php_sybase_db.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-01-28 01:43:45 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-01-28 01:43:45 +0000
commit7bbe518f8b4bfb7408aab4e5896337626b460555 (patch)
tree897def121736e26659c6616c787c513219d63fd1 /ext/sybase/php_sybase_db.c
parent472a3a2446ac36a5adc81ebc8a1343e98b03149c (diff)
downloadphp-git-7bbe518f8b4bfb7408aab4e5896337626b460555.tar.gz
Fixed bug #27058 (crash in sybase_connect() with 2 arguments).
Diffstat (limited to 'ext/sybase/php_sybase_db.c')
-rw-r--r--ext/sybase/php_sybase_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sybase/php_sybase_db.c b/ext/sybase/php_sybase_db.c
index 40e8089563..ff9af1d58e 100644
--- a/ext/sybase/php_sybase_db.c
+++ b/ext/sybase/php_sybase_db.c
@@ -330,7 +330,7 @@ static void php_sybase_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
case 2: {
zval **yyhost, **yyuser;
- if (zend_get_parameters_ex(ht, 2, &yyhost, &yyuser) == FAILURE) {
+ if (zend_get_parameters_ex(2, &yyhost, &yyuser) == FAILURE) {
RETURN_FALSE;
}
convert_to_string_ex(yyhost);