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;
#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; \
}
#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; \
}