h->flags.server_flags = NULL; if ((s = msg_parse_flags (&(h->flags), s)) == NULL)
if ((s = msg_parse_flags (h, s)) == NULL)
static int msg_parse_fetch (IMAP_HEADER_INFO *h, char *s){  char tmp[SHORT_STRING];  char *ptmp;  if (!s)    return (-1);  while (*s)  {    SKIPWS (s);    if (mutt_strncasecmp ("FLAGS", s, 5) == 0)    {      h->flags.server_flags = NULL;      if ((s = msg_parse_flags (&(h->flags), s)) == NULL)        return -1;    }    else if (mutt_strncasecmp ("INTERNALDATE", s, 12) == 0)    {      s += 12;      SKIPWS (s);      if (*s != '\"')      {        dprint (1, (debugfile, "msg_parse_fetch(): bogus INTERNALDATE entry: %s\n", s));        return -1;      }      s++;      ptmp = tmp;      while (*s && *s != '\"')        *ptmp++ = *s++;      if (*s != '\"')        return -1;      s++; /* skip past the trailing " */      *ptmp = 0;      h->received = imap_parse_date (tmp);    }    else if (mutt_strncasecmp ("RFC822.SIZE", s, 11) == 0)    {      s += 11;      SKIPWS (s);      ptmp = tmp;      while (isdigit (*s))        *ptmp++ = *s++;      *ptmp = 0;      h->content_length += atoi (tmp);    }    else if (*s == ')')      s++; /* end of request */    else if (*s)    {      /* got something i don't understand */      imap_error ("msg_parse_fetch", s);      return (-1);    }  }  return 0;}