From: Michael Wallner Date: Mon, 23 Apr 2007 18:29:22 +0000 (+0000) Subject: - fix typo X-Git-Tag: RELEASE_1_5_3~7 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=39542fc9774df9a27e7643369a7210022cb81b0b;p=m6w6%2Fext-http - fix typo --- diff --git a/php_http_send_api.h b/php_http_send_api.h index 5d75ee8..4b7d0ba 100644 --- a/php_http_send_api.h +++ b/php_http_send_api.h @@ -30,7 +30,7 @@ typedef enum _http_send_mode_t { extern PHP_MINIT_FUNCTION(http_send); #define http_send_status(s) sapi_header_op(SAPI_HEADER_SET_STATUS, (void *) (s) TSRMLS_CC) -#define http_send_header(n, v, r) _http_send_header_ex((n), strlen(n), (v), strlen(v), (r) TSRMLS_CC) +#define http_send_header(n, v, r) _http_send_header_ex((n), strlen(n), (v), strlen(v), (r), NULL TSRMLS_CC) #define http_send_header_ex(n, nl, v, vl, r, s) _http_send_header_ex((n), (nl), (v), (vl), (r), (s) TSRMLS_CC) PHP_HTTP_API STATUS _http_send_header_ex(const char *name, size_t name_len, const char *value, size_t value_len, zend_bool replace, char **sent_header TSRMLS_DC); #define http_send_header_string(h) _http_send_status_header_ex(0, (h), strlen(h), 1 TSRMLS_CC)