aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
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);