state: add missing state to debug table

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...
This commit is contained in:
Daniel Stenberg 2011-03-13 14:19:16 +01:00
parent 6c5448d59f
commit 60406ff7f8
1 changed files with 2 additions and 1 deletions

View 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 * This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms * you should have received as part of this distribution. The terms
@ -294,6 +294,7 @@ static void state(struct connectdata *conn,
"SERVERGREET", "SERVERGREET",
"LOGIN", "LOGIN",
"STARTTLS", "STARTTLS",
"UPGRADETLS",
"SELECT", "SELECT",
"FETCH", "FETCH",
"LOGOUT", "LOGOUT",