aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/imap.c b/imap.c
index 4e5122fa..f6a68ea9 100644
--- a/imap.c
+++ b/imap.c
@@ -128,7 +128,10 @@ static int imap_getrange(FILE *sockfp, struct query *ctl, int*countp, int*newp)
"SELECT %s",
ctl->mailbox ? ctl->mailbox : "INBOX");
if (ok != 0)
+ {
+ error(0, 0, "mailbox selection failed");
return(ok);
+ }
*countp = count;