break;
void nsImapProtocol::Log(const char *logSubName, const char *extraInfo, const char *logData){  if (PR_LOG_TEST(IMAP, PR_LOG_ALWAYS))  {    static const char nonAuthStateName[] = "NA";    static const char authStateName[] = "A";    static const char selectedStateName[] = "S";      //  static const char waitingStateName[] = "W";    const char *stateName = NULL;      const char *hostName = GetImapHostName();  // initilize to empty string    switch (GetServerStateParser().GetIMAPstate())    {    case nsImapServerResponseParser::kFolderSelected:      if (m_runningUrl)      {        if (extraInfo)          PR_LOG(IMAP, PR_LOG_ALWAYS, ("%s:%s-%s:%s:%s: %s", hostName,selectedStateName, GetServerStateParser().GetSelectedMailboxName(), logSubName, extraInfo, logData));        else          PR_LOG(IMAP, PR_LOG_ALWAYS, ("%s:%s-%s:%s: %s", hostName,selectedStateName, GetServerStateParser().GetSelectedMailboxName(), logSubName, logData));      }      return;      break;    case nsImapServerResponseParser::kNonAuthenticated:      stateName = nonAuthStateName;      break;    case nsImapServerResponseParser::kAuthenticated:      stateName = authStateName;      break;  #if 0 // *** this isn't a server state; its a status ***    case nsImapServerResponseParser::kWaitingForMoreClientInput:      stateName = waitingStateName;      break;  #endif     }    if (m_runningUrl)    {      if (extraInfo)        PR_LOG(IMAP, PR_LOG_ALWAYS, ("%s:%s:%s:%s: %s", hostName,stateName,logSubName,extraInfo,logData));      else        PR_LOG(IMAP, PR_LOG_ALWAYS, ("%s:%s:%s: %s",hostName,stateName,logSubName,logData));    }  }}