cvs: php4 /ext/oracle oracle.c

From: Date: Tue, 10 Oct 2000 16:58:26 +0000
Subject: cvs: php4 /ext/oracle oracle.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1974@lists.php.net to get a copy of this message
derick Tue Oct 10 09:58:26 2000 EDT Modified files: /php4/ext/oracle oracle.c Log: - Reserved the patch # Please check if it works, as I'm not be able to test it # Blame CaPS for this one :) Index: php4/ext/oracle/oracle.c diff -u php4/ext/oracle/oracle.c:1.53 php4/ext/oracle/oracle.c:1.54 --- php4/ext/oracle/oracle.c:1.53 Mon Oct 9 11:45:55 2000 +++ php4/ext/oracle/oracle.c Tue Oct 10 09:58:25 2000 @@ -601,9 +601,8 @@ if (zend_get_parameters_ex(1, &arg) == FAILURE) { WRONG_PARAM_COUNT; } + ZEND_FETCH_RESOURCE(cursor, oraCursor *, arg, -1, "Oracle-Cursor", le_cursor); - if (ZEND_FETCH_RESOURCE(cursor, oraCursor *, arg, -1, "Oracle-Cursor", le_cursor) == NULL) - RETURN_FALSE; zend_list_delete((*arg)->value.lval); RETURN_TRUE;

« previous php.cvs (#1974) next »