quote imap strings more carefully

Co-authored-by: JerikoOne <jeriko.one@gmx.us>
bool imap_code(const char *s)
{
  return (cmd_status(s) == IMAP_CMD_OK);
}

bool imap_code(const char *s)
{
  return (cmd_status(s) == IMAP_CMD_OK);
}
