diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 13:36:27 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 13:36:27 +0000 |
commit | b9725878c38cc4ae8c3af81d55dab77a6b83a02b (patch) | |
tree | de2f3ea69edf356df99de3a517ff3920050efbe9 /options.c | |
parent | bf74b59de541cb0e7085530f296407cf9d9c9ef3 (diff) | |
download | fetchmail-b9725878c38cc4ae8c3af81d55dab77a6b83a02b.tar.gz fetchmail-b9725878c38cc4ae8c3af81d55dab77a6b83a02b.tar.bz2 fetchmail-b9725878c38cc4ae8c3af81d55dab77a6b83a02b.zip |
optrec -> hostrec.
svn path=/trunk/; revision=34
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -74,7 +74,7 @@ static struct option longoptions[] = { arguments: argc argument count. argv argument strings. - options pointer to a struct optrec to receive the parsed + options pointer to a struct hostrec to receive the parsed options. return value: if positive, argv index of last parsed option + 1 @@ -91,7 +91,7 @@ static struct option longoptions[] = { int parsecmdline (argc,argv,options) int argc; char **argv; -struct optrec *options; +struct hostrec *options; { int c,i; int fflag = 0; /* TRUE when -o or -c has been specified */ @@ -102,7 +102,7 @@ struct optrec *options; extern int optind, opterr; /* defined in getopt(2) */ extern char *optarg; /* defined in getopt(2) */ - bzero(options,sizeof(struct optrec)); /* start clean */ + bzero(options,sizeof(struct hostrec)); /* start clean */ while (!errflag && (c = getopt_long(argc,argv,shortoptions, @@ -277,7 +277,7 @@ struct optrec *options; *********************************************************************/ int setdefaults (options) -struct optrec *options; +struct hostrec *options; { int uid; struct passwd *pw; |