aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-07-03 13:36:27 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-07-03 13:36:27 +0000
commitb9725878c38cc4ae8c3af81d55dab77a6b83a02b (patch)
treede2f3ea69edf356df99de3a517ff3920050efbe9 /options.c
parentbf74b59de541cb0e7085530f296407cf9d9c9ef3 (diff)
downloadfetchmail-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/options.c b/options.c
index f669f49c..7ae374d8 100644
--- a/options.c
+++ b/options.c
@@ -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;