aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 99a81e68..15d966b3 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -290,6 +290,9 @@ struct hostrec *queryctl;
case P_APOP:
return(doPOP3(queryctl));
break;
+ case P_IMAP:
+ return(doIMAP(queryctl));
+ break;
default:
fprintf(stderr,"popclient: unsupported protocol selected.\n");
return(PS_PROTOCOL);