diff options
| author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-09 20:13:45 +0000 |
|---|---|---|
| committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-09 20:13:45 +0000 |
| commit | cc154e2e65610ffa46cd59ca1a97f09ed68271a4 (patch) | |
| tree | 6fa28bad8f057b4fb58f6243c7f0587c4eb6b0a9 | |
| parent | b257b8ceac0f8bfefee354f7a5d3aafb2592e658 (diff) | |
| download | fetchmail-cc154e2e65610ffa46cd59ca1a97f09ed68271a4.tar.gz fetchmail-cc154e2e65610ffa46cd59ca1a97f09ed68271a4.tar.bz2 fetchmail-cc154e2e65610ffa46cd59ca1a97f09ed68271a4.zip | |
Allow this to work with Cyrus server.
svn path=/trunk/; revision=1321
| -rw-r--r-- | imap.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -584,7 +584,9 @@ static int imap_trail(int sock, struct query *ctl, int number) if ((ok = gen_recv(sock, buf, sizeof(buf)))) return(ok); - if (strstr(buf, "OK FETCH")) + + /* UW IMAP returns "OK FETCH", Cyrus returns "OK Completed" */ + if (strstr(buf, "OK")) break; } |
