aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-03-01 12:02:17 +0000
committerYang Tse <yangsita@gmail.com>2007-03-01 12:02:17 +0000
commit82d310d0d9220ead1c232cbca560762fee9e09f6 (patch)
tree3deef4021189c5b997b4d43db3952b89daf01c67 /lib
parent4fdb42377b660f7c415f1f9b980aa2afc452c3b2 (diff)
Do not remove CURLM_STATE_WAITPROXYCONNECT from the CURLMstate enum
in builds with HTTP support disabled to keep consistent enum values for CURLMstate in all kind of builds.
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 96d013d3e..59e4b4419 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -61,11 +61,8 @@ typedef enum {
CURLM_STATE_CONNECT, /* resolve/connect has been sent off */
CURLM_STATE_WAITRESOLVE, /* awaiting the resolve to finalize */
CURLM_STATE_WAITCONNECT, /* awaiting the connect to finalize */
-#ifndef CURL_DISABLE_HTTP
CURLM_STATE_WAITPROXYCONNECT, /* awaiting proxy CONNECT to finalize */
-#endif
- CURLM_STATE_PROTOCONNECT, /* completing the protocol-specific connect
- phase */
+ CURLM_STATE_PROTOCONNECT, /* completing the protocol-specific connect phase */
CURLM_STATE_WAITDO, /* wait for our turn to send the request */
CURLM_STATE_DO, /* start send off the request (part 1) */
CURLM_STATE_DOING, /* sending off the request (part 1) */