cvs: pecl /http http_request_object.c
| From: | Michael Wallner | Date: | Mon, 04 Dec 2006 18:16:13 +0000 |
| Subject: | cvs: pecl /http http_request_object.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-6729@lists.php.net to get a copy of this message | ||
mike Mon Dec 4 18:16:13 2006 UTC
Modified files:
/pecl/http http_request_object.c
Log:
- missing part of HAVE_CURL_FORMGET
http://cvs.php.net/viewvc.cgi/pecl/http/http_request_object.c?r1=1.150&r2=1.151&diff_format=u
Index: pecl/http/http_request_object.c
diff -u pecl/http/http_request_object.c:1.150 pecl/http/http_request_object.c:1.151
--- pecl/http/http_request_object.c:1.150 Mon Dec 4 17:13:46 2006
+++ pecl/http/http_request_object.c Mon Dec 4 18:16:13 2006
@@ -10,7 +10,7 @@
+--------------------------------------------------------------------+
*/
-/* $Id: http_request_object.c,v 1.150 2006/12/04 17:13:46 mike Exp $ */
+/* $Id: http_request_object.c,v 1.151 2006/12/04 18:16:13 mike Exp $ */
#define HTTP_WANT_CURL
#include "php_http.h"
@@ -241,7 +241,7 @@
HTTP_ARG_VAL(method, 0)
HTTP_END_ARGS;
-#ifdef HAVE_CURL_GETFORMDATA
+#if defined(HAVE_CURL_GETFORMDATA) || defined(HAVE_CURL_FORMGET)
HTTP_BEGIN_ARGS(encodeBody, 2)
HTTP_ARG_VAL(fields, 0)
HTTP_ARG_VAL(files, 0)