From 9aafb07f141bbd1cae1395e34fe3d064918c6712 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 3 Jul 1996 02:54:50 +0000 Subject: poprcfile is now a single global. svn path=/trunk/; revision=26 --- options.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'options.c') 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; -- cgit v1.2.3