projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
67b6449
)
- HttpRequest::encodeBody() is also available if curl_formget() is in libcurl
author
Michael Wallner
<mike@php.net>
Mon, 4 Dec 2006 13:37:58 +0000
(13:37 +0000)
committer
Michael Wallner
<mike@php.net>
Mon, 4 Dec 2006 13:37:58 +0000
(13:37 +0000)
http_request_object.c
patch
|
blob
|
history
diff --git
a/http_request_object.c
b/http_request_object.c
index af4a2b996fd0291e31bda651dcbb6eba685194e0..3fbfdbf61d198262d57ec2c58bec84a459be6e2b 100644
(file)
--- a/
http_request_object.c
+++ b/
http_request_object.c
@@
-334,7
+334,7
@@
zend_function_entry http_request_object_fe[] = {
HTTP_REQUEST_ALIAS(methodUnregister, http_request_method_unregister)
HTTP_REQUEST_ALIAS(methodName, http_request_method_name)
HTTP_REQUEST_ALIAS(methodExists, http_request_method_exists)
-#if
def HAVE_CURL_GETFORMDATA
+#if
defined(HAVE_CURL_GETFORMDATA) || defined(HAVE_CURL_FORMGET)
HTTP_REQUEST_ALIAS(encodeBody, http_request_body_encode)
#endif
EMPTY_FUNCTION_ENTRY