From: Michael Wallner Date: Thu, 24 Mar 2005 16:50:10 +0000 (+0000) Subject: * satisfy gcc X-Git-Tag: RELEASE_0_7_0~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=7f5c97d8055c3b165cadeca682809e9b3e2b8fa8;p=m6w6%2Fext-http * satisfy gcc --- diff --git a/http_curl_api.c b/http_curl_api.c index 0738739..b7d622e 100644 --- a/http_curl_api.c +++ b/http_curl_api.c @@ -331,7 +331,7 @@ static void _http_curl_setopts(CURL *ch, const char *url, HashTable *options TSR if (zoption = http_curl_getopt1(options, "connecttimeout", IS_LONG)) { HTTP_CURL_OPT(CONNECTTIMEOUT, Z_LVAL_P(zoption)); } - + /* ssl */ if (zoption = http_curl_getopt1(options, "ssl", IS_ARRAY)) { long idx; @@ -344,7 +344,7 @@ static void _http_curl_setopts(CURL *ch, const char *url, HashTable *options TSR #define HTTP_CURL_OPT_STRING_EX(keyname, optname) \ if (!strcasecmp(key, #keyname)) { \ convert_to_string_ex(param); \ - HTTP_CURL_OPT( ##optname, Z_STRVAL_PP(param)); \ + HTTP_CURL_OPT(optname, Z_STRVAL_PP(param)); \ key = NULL; \ continue; \ } @@ -354,7 +354,7 @@ static void _http_curl_setopts(CURL *ch, const char *url, HashTable *options TSR #define HTTP_CURL_OPT_LONG_EX(keyname, optname) \ if (!strcasecmp(key, #keyname)) { \ convert_to_long_ex(param); \ - HTTP_CURL_OPT( ##optname, Z_LVAL_PP(param)); \ + HTTP_CURL_OPT(optname, Z_LVAL_PP(param)); \ key = NULL; \ continue; \ }