Re: cvs: php-src /ext/oci8 oci8.c
| From: | Jani Taskinen | Date: | Fri, 20 Feb 2004 09:16:41 +0000 |
| Subject: | Re: cvs: php-src /ext/oci8 oci8.c | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8013@lists.php.net to get a copy of this message | ||
On Fri, 20 Feb 2004, Ard Biesheuvel wrote:
>Jani Taskinen wrote:
>
>> sniper Thu Feb 19 22:05:43 2004 EDT
>>
>> Modified files:
>> /php-src/ext/oci8 oci8.c
>> Log:
>> Only use Z_TYPE* with zvals..
>>
>> -static oci_descriptor *oci_new_desc(int type,oci_connection *connection)
>> +static oci_descriptor *oci_new_desc(int type, oci_connection *connection)
>> {
>> oci_descriptor *descr;
>> TSRMLS_FETCH();
>>
>> descr = emalloc(sizeof(oci_descriptor));
>>
>> - Z_TYPE_P(descr) = type;
>> + descr->type = type;
>
>None of these look like zvals to me.
Exactly. (notice what was changed to what :)
--Jani