aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index e65807ec..404f75c0 100644
--- a/imap.c
+++ b/imap.c
@@ -100,7 +100,7 @@ static int imap_getrange(FILE *sockfp, struct query *ctl, int*countp, int*newp)
recent = unseen = 0;
ok = gen_transact(sockfp,
"SELECT %s",
- ctl->mailbox[0] ? ctl->mailbox : "INBOX");
+ ctl->mailbox ? ctl->mailbox : "INBOX");
if (ok != 0)
return(ok);