Browse Source

- handle bogus search responses more gracefully

0.9
Oswald Buddenhagen 22 years ago
parent
commit
3327572fd2
  1. 6
      src/imap.c

6
src/imap.c

@ -1329,11 +1329,9 @@ imap_append_message (imap_t * imap, int fd, message_t * msg)
{
arg = next_arg (&s);
if (!arg)
{
fprintf (stderr, "IMAP error: incomplete SEARCH response\n");
return -1;
}
uid = atoi (arg);
else
uid = atoi (arg);
}
}
else if (atoi (arg) != (int) Tag)

Loading…
Cancel
Save