]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
add missing state name for the debug state switch output
authorDaniel Stenberg <daniel@haxx.se>
Fri, 23 Mar 2007 22:25:04 +0000 (22:25 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 Mar 2007 22:25:04 +0000 (22:25 +0000)
lib/multi.c

index 59e4b4419ebce98050caecf964be843e63f4d334..3cf3dd3a7a73c1c6364a60bee6ba9fbc8437e7c5 100644 (file)
@@ -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",