]> Pileus Git - ~andy/fetchmail/blobdiff - imap.c
RC file syntax change, folder->mailbox, remote->remotename.
[~andy/fetchmail] / imap.c
diff --git a/imap.c b/imap.c
index 07ef852ba0b09037b9d03c3bcc58985de5706406..ac13f068a6bcad94f78322f457a0d84809c096f4 100644 (file)
--- a/imap.c
+++ b/imap.c
@@ -101,7 +101,7 @@ int *countp;
     /* find out how many messages are waiting */
     ok = gen_transact(socket,
                  "SELECT %s",
-                 queryctl->remotefolder[0] ? queryctl->remotefolder : "INBOX");
+                 queryctl->mailbox[0] ? queryctl->mailbox : "INBOX");
     if (ok != 0)
        return(ok);