- missing part of HAVE_CURL_FORMGET
authorMichael Wallner <mike@php.net>
Mon, 4 Dec 2006 18:16:13 +0000 (18:16 +0000)
committerMichael Wallner <mike@php.net>
Mon, 4 Dec 2006 18:16:13 +0000 (18:16 +0000)
http_request_object.c

index 319cb4f23bbf2db20f4e58e32f039d832884ff11..292db7b6344fb1d014c2e8fb4e0ab4a7cf8afde2 100644 (file)
@@ -241,7 +241,7 @@ HTTP_BEGIN_ARGS(methodExists, 1)
        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)