}
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;
}
}
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);
}