aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-08-17 23:09:28 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-08-17 23:09:28 +0000
commit79f40d75cd5293d297f40f01e84d8dc415ed95a1 (patch)
treefd4860e856a7aa56df6f2141bfa2ae7fc6d7b3e7 /options.c
parent6f3696306bffb7b9b76fbd4658c7435a37f9946d (diff)
downloadfetchmail-79f40d75cd5293d297f40f01e84d8dc415ed95a1.tar.gz
fetchmail-79f40d75cd5293d297f40f01e84d8dc415ed95a1.tar.bz2
fetchmail-79f40d75cd5293d297f40f01e84d8dc415ed95a1.zip
Second version of SDPS.
svn path=/trunk/; revision=2041
Diffstat (limited to 'options.c')
-rw-r--r--options.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/options.c b/options.c
index 8b77ddb7..6ae2f61e 100644
--- a/options.c
+++ b/options.c
@@ -285,6 +285,13 @@ struct query *ctl; /* option record to be initialized */
/* XXX -- should probably use a table lookup here */
if (strcasecmp(optarg,"pop2") == 0)
ctl->server.protocol = P_POP2;
+#ifdef SDPS_ENABLE
+ else if (strcasecmp(optarg,"sdps") == 0)
+ {
+ ctl->server.protocol = P_POP3;
+ ctl->server.sdps = TRUE;
+ }
+#endif /* SDPS_ENABLE */
else if (strcasecmp(optarg,"pop3") == 0)
ctl->server.protocol = P_POP3;
else if (strcasecmp(optarg,"apop") == 0)