* typo
authorMichael Wallner <mike@php.net>
Wed, 13 Apr 2005 08:03:20 +0000 (08:03 +0000)
committerMichael Wallner <mike@php.net>
Wed, 13 Apr 2005 08:03:20 +0000 (08:03 +0000)
http_functions.c
http_message_object.c

index 9b57b64204d8254bcf2ae0a34834b5ac4c227734..0b39b72cf36ef5e30715d0ea604edc474f0498a3 100644 (file)
@@ -981,7 +981,7 @@ PHP_FUNCTION(http_build_query)
        }
 
        formstr = phpstr_new();
-       if (SUCCESS != http_urlencode_hash_implementation_ex(HASH_OF(formdata), formstr, arg_sep, prefix, prefix_len, NULL, 0, NULL, 0, (Z_TYPE_P(formdata) == IS_OBJECT ? formdata : NULL) TSRMLS_CC)) {
+       if (SUCCESS != http_urlencode_hash_implementation_ex(HASH_OF(formdata), formstr, arg_sep, prefix, prefix_len, NULL, 0, NULL, 0, (Z_TYPE_P(formdata) == IS_OBJECT ? formdata : NULL))) {
                phpstr_free(formstr);
                RETURN_FALSE;
        }
index a8540e78c64bd9db836b1fd9bddbfcc38f7edb12..e23f555861a1c6a70100d66e0cfb729372f0ba43 100644 (file)
@@ -296,7 +296,7 @@ static void _http_message_object_write_prop(zval *object, zval *member, zval *va
                        }
                break;
 
-               case HTTP_MSG_PROPHASH_RESPONSE_STATUS:
+               case HTTP_MSG_PROPHASH_RESPONSE_CODE:
                        if (msg->type == HTTP_MSG_RESPONSE) {
                                msg->info.response.code = Z_LVAL_P(value);
                        }