diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-09-28 13:31:48 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-09-28 13:31:48 +0000 |
commit | 0bcddca0b9aebb44d6076cf12c93f316463dd310 (patch) | |
tree | 91e773d44b6034d656cb8206b3647e0b42176ca8 /options.c | |
parent | 13e2bb7fa077c96437eb9cbdfd75731af7174261 (diff) | |
download | fetchmail-0bcddca0b9aebb44d6076cf12c93f316463dd310.tar.gz fetchmail-0bcddca0b9aebb44d6076cf12c93f316463dd310.tar.bz2 fetchmail-0bcddca0b9aebb44d6076cf12c93f316463dd310.zip |
Give up on POP3 UIDs, they're a dead loss.
svn path=/trunk/; revision=173
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 34 |
1 files changed, 10 insertions, 24 deletions
@@ -30,17 +30,16 @@ #define LA_PROTOCOL 10 #define LA_DAEMON 11 #define LA_RCFILE 12 -#define LA_IDFILE 13 -#define LA_USERNAME 14 -#define LA_REMOTEFILE 15 -#define LA_LOCALFILE 16 -#define LA_MDA 17 -#define LA_PORT 18 -#define LA_SMTPHOST 19 -#define LA_LOGFILE 20 -#define LA_QUIT 21 -#define LA_NOREWRITE 22 -#define LA_YYDEBUG 23 +#define LA_USERNAME 13 +#define LA_REMOTEFILE 14 +#define LA_LOCALFILE 15 +#define LA_MDA 16 +#define LA_PORT 17 +#define LA_SMTPHOST 18 +#define LA_LOGFILE 19 +#define LA_QUIT 20 +#define LA_NOREWRITE 21 +#define LA_YYDEBUG 22 static char *shortoptions = "23PVaKkvS:scl:Fd:f:u:r:o:m:L:qN"; static struct option longoptions[] = { @@ -65,7 +64,6 @@ static struct option longoptions[] = { {"port", required_argument, (int *) 0, LA_PORT }, {"smtphost", required_argument, (int *) 0, LA_SMTPHOST }, {"logfile", required_argument, (int *) 0, LA_LOGFILE }, - {"idfile", required_argument, (int *) 0, LA_IDFILE }, {"quit", no_argument, (int *) 0, LA_QUIT }, {"norewrite", no_argument, (int *) 0, LA_NOREWRITE }, {"yydebug", no_argument, (int *) 0, LA_YYDEBUG }, @@ -194,11 +192,6 @@ struct hostrec *queryctl; rcfile = (char *) xmalloc(strlen(optarg)+1); strcpy(rcfile,optarg); break; - case 'i': - case LA_IDFILE: - idfile = (char *) xmalloc(strlen(optarg)+1); - strcpy(idfile,optarg); - break; case 'u': case LA_USERNAME: strncpy(queryctl->remotename,optarg,sizeof(queryctl->remotename)-1); @@ -355,13 +348,6 @@ struct hostrec *queryctl; strcat(rcfile, "/"); strcat(rcfile, RCFILE_NAME); - idfile = - (char *) xmalloc(strlen(home)+strlen(IDFILE_NAME)+2); - - strcpy(idfile, home); - strcat(idfile, "/"); - strcat(idfile, IDFILE_NAME); - outlevel = O_NORMAL; return(0); |