cvs: pecl /http http_curl_api.c
| From: | Michael Wallner | Date: | Thu, 24 Mar 2005 16:50:10 +0000 |
| Subject: | cvs: pecl /http http_curl_api.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-2901@lists.php.net to get a copy of this message | ||
mike Thu Mar 24 11:50:10 2005 EDT
Modified files:
/pecl/http http_curl_api.c
Log:
* satisfy gcc
http://cvs.php.net/diff.php/pecl/http/http_curl_api.c?r1=1.24&r2=1.25&ty=u
Index: pecl/http/http_curl_api.c
diff -u pecl/http/http_curl_api.c:1.24 pecl/http/http_curl_api.c:1.25
--- pecl/http/http_curl_api.c:1.24 Wed Mar 23 08:12:01 2005
+++ pecl/http/http_curl_api.c Thu Mar 24 11:50:10 2005
@@ -13,7 +13,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: http_curl_api.c,v 1.24 2005/03/23 13:12:01 mike Exp $ */
+/* $Id: http_curl_api.c,v 1.25 2005/03/24 16:50:10 mike Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -331,7 +331,7 @@
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 @@
#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 @@
#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; \
}