From 7f5c97d8055c3b165cadeca682809e9b3e2b8fa8 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 24 Mar 2005 16:50:10 +0000 Subject: [PATCH] * satisfy gcc --- http_curl_api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; \ } -- 2.30.2