diff options
Diffstat (limited to 'ext/oracle/oracle.c')
-rw-r--r-- | ext/oracle/oracle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c index 3716cad895..9b20a0ffe7 100644 --- a/ext/oracle/oracle.c +++ b/ext/oracle/oracle.c @@ -430,8 +430,8 @@ void ora_do_logon(INTERNAL_FUNCTION_PARAMETERS, int persistent) convert_to_string_ex(arg1); convert_to_string_ex(arg2); - user = (*arg1)->value.str.val; - passwd = (*arg2)->value.str.val; + user = Z_STRVAL_PP(arg1); + passwd = Z_STRVAL_PP(arg2); hashed_details_length = sizeof("oracle__")-1+strlen(user)+strlen(passwd); hashed_details = (char *) emalloc(hashed_details_length+1); |