aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-09-12 12:12:26 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-09-12 12:12:26 +0000
commit58b1a385369447775ee7cf5fd629c4ba3f35ead3 (patch)
tree712f4bdba8f2e1c2317c9fa201dc89121c21f78a /pop3.c
parentc64bc78c091837def7820299eb99ed51a21570d8 (diff)
downloadfetchmail-58b1a385369447775ee7cf5fd629c4ba3f35ead3.tar.gz
fetchmail-58b1a385369447775ee7cf5fd629c4ba3f35ead3.tar.bz2
fetchmail-58b1a385369447775ee7cf5fd629c4ba3f35ead3.zip
exclude --remote from POP3.
svn path=/trunk/; revision=88
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pop3.c b/pop3.c
index b386deb3..6bc3fac7 100644
--- a/pop3.c
+++ b/pop3.c
@@ -258,6 +258,11 @@ int doPOP3bis (queryctl)
/* retrieve messages using POP3 */
struct hostrec *queryctl;
{
+ if (queryctl->remotefolder[0]) {
+ fprintf(stderr,"Option --remote is not supported with POP3\n");
+ return(PS_SYNTAX);
+ }
+
return(do_protocol(queryctl, &pop3));
}