]> granicus.if.org Git - php/commitdiff
MFH: fix weird DB2 issue
authorAntony Dovgal <tony2001@php.net>
Mon, 17 Jan 2005 18:11:36 +0000 (18:11 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 17 Jan 2005 18:11:36 +0000 (18:11 +0000)
ext/odbc/php_odbc.c

index 92f8287a90feebfb7ef6a6ca8fb5327a730b9cd2..34b40ee39e13c57d36c70264db7da4fbdac8fecc 100644 (file)
@@ -1232,8 +1232,8 @@ PHP_FUNCTION(odbc_data_source)
 
        array_init(return_value);
 
-       add_assoc_stringl_ex(return_value, "server", sizeof("server"), server_name, len1, 1);
-       add_assoc_stringl_ex(return_value, "description", sizeof("description"), desc, len2, 1);
+       add_assoc_string_ex(return_value, "server", sizeof("server"), server_name, 1);
+       add_assoc_string_ex(return_value, "description", sizeof("description"), desc, 1);
 
 }
 /* }}} */