diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-10-26 19:57:45 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-10-26 19:57:45 +0000 |
commit | 836bbce0c428581f40d13d8c3d27d1c7adc31ccb (patch) | |
tree | 3d03fdd0b5bdda66ef27bf852cac646968968882 /options.c | |
parent | bcc60aebf68fd7839c708a623048636a03f05043 (diff) | |
download | fetchmail-836bbce0c428581f40d13d8c3d27d1c7adc31ccb.tar.gz fetchmail-836bbce0c428581f40d13d8c3d27d1c7adc31ccb.tar.bz2 fetchmail-836bbce0c428581f40d13d8c3d27d1c7adc31ccb.zip |
Jonathan T. Agnew's massive code cleanup.
svn path=/trunk/; revision=2137
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -64,7 +64,7 @@ #define LA_CONFIGDUMP 42 #define LA_YYDEBUG 43 -/* options still left: CgGhHjJoORwWxXYz */ +/* options still left: CDgGhHjJoORwWxXYz */ static const char *shortoptions = "?Vcsvd:NqL:f:i:p:UP:A:t:E:Q:u:akKFnl:r:S:Z:b:B:e:m:T:I:M:yw:"; @@ -288,7 +288,9 @@ struct query *ctl; /* option record to be initialized */ case 'p': case LA_PROTOCOL: /* XXX -- should probably use a table lookup here */ - if (strcasecmp(optarg,"pop2") == 0) + if (strcasecmp(optarg,"auto") == 0) + ctl->server.protocol = P_AUTO; + else if (strcasecmp(optarg,"pop2") == 0) ctl->server.protocol = P_POP2; #ifdef SDPS_ENABLE else if (strcasecmp(optarg,"sdps") == 0) |