From 6cfba2a3ea0c59f63b8c225b2a0ff85194f432f5 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Tue, 25 Sep 2001 22:49:04 +0000 Subject: 2nd phase in back-substitution those macro's I've got pretty much everything now... --- ext/oracle/oracle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/oracle/oracle.c') 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); -- cgit v1.2.1