From: Michael Wallner Date: Wed, 13 Apr 2005 08:03:20 +0000 (+0000) Subject: * typo X-Git-Tag: RELEASE_0_8_0~70 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=bf7c808caf569c8533a1e7226765cff87c462ab7;p=m6w6%2Fext-http * typo --- diff --git a/http_functions.c b/http_functions.c index 9b57b64..0b39b72 100644 --- a/http_functions.c +++ b/http_functions.c @@ -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; } diff --git a/http_message_object.c b/http_message_object.c index a8540e7..e23f555 100644 --- a/http_message_object.c +++ b/http_message_object.c @@ -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); }