]> granicus.if.org Git - curl/commitdiff
state: add missing state to debug table
authorDaniel Stenberg <daniel@haxx.se>
Sun, 13 Mar 2011 13:19:16 +0000 (14:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 13 Mar 2011 13:19:16 +0000 (14:19 +0100)
As a new state recently was added to the IMAP state machine it has to be
in the array of names as well as otherwise libcurl crashes when a debug
version runs...

lib/imap.c

index 16410c7d5965be9a42558b5cafe91c5f0ab21bfb..113907a971e0705c96f49bd1d7f9e54ebae842de 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -294,6 +294,7 @@ static void state(struct connectdata *conn,
     "SERVERGREET",
     "LOGIN",
     "STARTTLS",
+    "UPGRADETLS",
     "SELECT",
     "FETCH",
     "LOGOUT",