From bf7c808caf569c8533a1e7226765cff87c462ab7 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 13 Apr 2005 08:03:20 +0000 Subject: [PATCH] * typo --- http_functions.c | 2 +- http_message_object.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.30.2