aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-08-27 15:46:06 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-08-27 15:46:06 +0000
commit162efff095fd7bfd12a37407a09b5f9f88086c62 (patch)
tree5f5d5cf0bdfee9779b1184ed55269c3205b5388d /driver.c
parent12568e37825867b2ebbe1aa8201c1c931f1a7e4e (diff)
downloadfetchmail-162efff095fd7bfd12a37407a09b5f9f88086c62.tar.gz
fetchmail-162efff095fd7bfd12a37407a09b5f9f88086c62.tar.bz2
fetchmail-162efff095fd7bfd12a37407a09b5f9f88086c62.zip
Correct processing of greeting messages.
svn path=/trunk/; revision=75
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index a2288654..b424151d 100644
--- a/driver.c
+++ b/driver.c
@@ -76,8 +76,8 @@ struct method *proto;
goto closeUp;
}
- /* accept greeting message from IMAP server */
- ok = imap_ok(buf,socket);
+ /* accept greeting message from server */
+ ok = (protocol->parse_response)(buf, socket);
if (ok != 0) {
if (ok != PS_SOCKET)
gen_transact(socket, protocol->exit_cmd);