aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-03-23 22:25:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-03-23 22:25:04 +0000
commit3d528e1b152808fb4b027927bb83b0b42b4e63bd (patch)
tree2daea7a04ae91898d71f0e62cc0067239e6d2a19
parentf9a339a22562f9621fd985c87fd84116878661e2 (diff)
add missing state name for the debug state switch output
-rw-r--r--lib/multi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 59e4b4419..3cf3dd3a7 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -56,6 +56,9 @@ struct Curl_message {
struct Curl_message *next;
};
+/* NOTE: if you add a state here, add the name to the statename[] array as
+ well!
+*/
typedef enum {
CURLM_STATE_INIT, /* start in this state */
CURLM_STATE_CONNECT, /* resolve/connect has been sent off */
@@ -182,6 +185,7 @@ static const char *statename[]={
"CONNECT",
"WAITRESOLVE",
"WAITCONNECT",
+ "WAITPROXYCONNECT",
"PROTOCONNECT",
"WAITDO",
"DO",