if (hdr && (hdr->flagged || hdr->replied || hdr->read))
if (hdr && (hdr->flagged || hdr->replied || hdr->read || hdr->deleted))
static void maildir_flags (char *dest, size_t destlen, HEADER *hdr){  *dest = '\0';    if (hdr && (hdr->flagged || hdr->replied || hdr->read))  {    snprintf (dest, destlen, 	      ":2,%s%s%s",	     hdr->flagged ? "F" : "",	     hdr->replied ? "R" : "",	     hdr->read ? "S" : "");  }}