diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-11-11 19:24:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-11-11 19:24:00 +0000 |
commit | 4d9ebfc1ae8788f66be711273d73bf4831a7cd4e (patch) | |
tree | daebb4a9a23e88cd09eefc12d78feb194c9ee938 /imap.c | |
parent | 63a3fd1876062cdff8e59feca193a840a91bc0c8 (diff) | |
download | fetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.tar.gz fetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.tar.bz2 fetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.zip |
Ready to ship.
svn path=/trunk/; revision=2983
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -608,8 +608,10 @@ static int do_gssauth(int sock, char *hostname, char *username) SockWrite(sock, buf1, strlen(buf1)); /* we should be done. Get status and finish up */ - if (result = gen_recv(sock, buf1, sizeof buf1)) - return result; + do { + if (result = gen_recv(sock, buf1, sizeof buf1)) + return result; + } while(strncmp(buf1, tag, strlen(tag)) != 0); if (strstr(buf1, "OK")) { /* flush security context */ if (outlevel >= O_DEBUG) |