- typo
authorMichael Wallner <mike@php.net>
Wed, 24 Aug 2005 10:55:57 +0000 (10:55 +0000)
committerMichael Wallner <mike@php.net>
Wed, 24 Aug 2005 10:55:57 +0000 (10:55 +0000)
php_http_std_defs.h

index 763a8cf0b3c11255dabfc0be2987fc5c352ba18e..a74b73b958bf8430f73870e2e241244b5f759415 100644 (file)
@@ -65,7 +65,7 @@ typedef int STATUS;
        return_value->is_ref = 1; \
        return_value->type = IS_OBJECT; \
        return_value->value.obj = (ov); \
-       if (Z_OBJ_HT_P(return_value)) { \
+       if (Z_OBJ_HT_P(return_value)->add_ref) { \
                Z_OBJ_HT_P(return_value)->add_ref(return_value TSRMLS_CC); \
        }
 #define RETURN_OBJVAL(ov) \