- don't make these zvals references
authorMichael Wallner <mike@php.net>
Fri, 28 Oct 2005 12:06:37 +0000 (12:06 +0000)
committerMichael Wallner <mike@php.net>
Fri, 28 Oct 2005 12:06:37 +0000 (12:06 +0000)
php_http_std_defs.h

index f9485e57013a935c7f7345a53894d9a26277a773..bf0871e989d8dce8709115f4d40a77dbb9b04690 100644 (file)
@@ -71,7 +71,7 @@ typedef int STATUS;
        RETVAL_OBJVAL(ov); \
        return
 #define ZVAL_OBJVAL(zv, ov) \
-       (zv)->is_ref = 1; \
+       INIT_PZVAL(zv); \
        (zv)->type = IS_OBJECT; \
        (zv)->value.obj = (ov); \
        if (Z_OBJ_HT_P(zv)->add_ref) { \