aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-08-02 16:25:37 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-08-02 16:25:37 +0000
commitde5afa980961b42da96ac88d4a60b211d309c00a (patch)
tree55010b55e1bf14c599a04e1aa0d532cda4010825 /pop3.c
parent1b9705a93cf367a9fafb683fdb5a7e122be50e83 (diff)
downloadfetchmail-de5afa980961b42da96ac88d4a60b211d309c00a.tar.gz
fetchmail-de5afa980961b42da96ac88d4a60b211d309c00a.tar.bz2
fetchmail-de5afa980961b42da96ac88d4a60b211d309c00a.zip
Minor bug fixes.
svn path=/trunk/; revision=47
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pop3.c b/pop3.c
index 0be6b211..5571d6d9 100644
--- a/pop3.c
+++ b/pop3.c
@@ -70,8 +70,8 @@ struct hostrec *queryctl;
int first,number,count;
- /* open/lock the folder if we're using a mailbox */
- if (queryctl->output == TO_FOLDER)
+ /* open stdout or the mailbox, locking it if it is a folder */
+ if (queryctl->output == TO_FOLDER || queryctl->output == TO_STDOUT)
if ((mboxfd = openuserfolder(queryctl)) < 0)
return(PS_IOERR);