From: Michael Wallner Date: Wed, 25 May 2005 16:36:54 +0000 (+0000) Subject: - ws X-Git-Tag: RELEASE_0_8_0~20 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=e5c512123b227154d4a20003f417835ee678b3aa;p=m6w6%2Fext-http - ws --- diff --git a/php_http_api.h b/php_http_api.h index 220bb76..44d8ac6 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -37,9 +37,9 @@ extern STATUS _http_check_method_ex(const char *method, const char *methods); #define HTTP_GSC(var, name, ret) HTTP_GSP(var, name, return ret) #define HTTP_GSP(var, name, ret) \ - if (!(var = _http_get_server_var_ex(name, strlen(name)+1, 1 TSRMLS_CC))) { \ - ret; \ - } + if (!(var = _http_get_server_var_ex(name, strlen(name)+1, 1 TSRMLS_CC))) { \ + ret; \ + } #define http_got_server_var(v) (NULL != _http_get_server_var_ex((v), sizeof(v), 1 TSRMLS_CC)) #define http_get_server_var(v) http_get_server_var_ex((v), sizeof(v)) #define http_get_server_var_ex(v, s) _http_get_server_var_ex((v), (s), 0 TSRMLS_CC)