aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-07-03 02:54:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-07-03 02:54:50 +0000
commit9aafb07f141bbd1cae1395e34fe3d064918c6712 (patch)
treeab8d0347fc4486ad4d84cd48182f56f7ac3f7a08 /options.c
parent1a9213a862e2b7c2b3e918d7700a82f014004b08 (diff)
downloadfetchmail-9aafb07f141bbd1cae1395e34fe3d064918c6712.tar.gz
fetchmail-9aafb07f141bbd1cae1395e34fe3d064918c6712.tar.bz2
fetchmail-9aafb07f141bbd1cae1395e34fe3d064918c6712.zip
poprcfile is now a single global.
svn path=/trunk/; revision=26
Diffstat (limited to 'options.c')
-rw-r--r--options.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/options.c b/options.c
index ef6bdf37..7b9e8c87 100644
--- a/options.c
+++ b/options.c
@@ -184,8 +184,8 @@ struct optrec *options;
break;
case 'f':
case LA_POPRC:
- options->poprcfile = (char *) xmalloc(strlen(optarg)+1);
- strcpy(options->poprcfile,optarg);
+ poprcfile = (char *) xmalloc(strlen(optarg)+1);
+ strcpy(poprcfile,optarg);
break;
case 'u':
case LA_USERNAME:
@@ -309,12 +309,12 @@ struct optrec *options;
(void) sprintf(options->mda, DEF_MDA, options->localname);
- options->poprcfile =
+ poprcfile =
(char *) xmalloc(strlen(pw->pw_dir)+strlen(POPRC_NAME)+2);
- strcpy(options->poprcfile, pw->pw_dir);
- strcat(options->poprcfile, "/");
- strcat(options->poprcfile, POPRC_NAME);
+ strcpy(poprcfile, pw->pw_dir);
+ strcat(poprcfile, "/");
+ strcat(poprcfile, POPRC_NAME);
outlevel = O_NORMAL;