aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-07-02 21:52:18 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-07-02 21:52:18 +0000
commit1a9213a862e2b7c2b3e918d7700a82f014004b08 (patch)
treee4a60219ff568f53f6f2853cf68a75694c0878c8 /options.c
parent971a363228832ae0210491c2629f964b8bb7aea7 (diff)
downloadfetchmail-1a9213a862e2b7c2b3e918d7700a82f014004b08.tar.gz
fetchmail-1a9213a862e2b7c2b3e918d7700a82f014004b08.tar.bz2
fetchmail-1a9213a862e2b7c2b3e918d7700a82f014004b08.zip
Eliminated options->silent field.
svn path=/trunk/; revision=25
Diffstat (limited to 'options.c')
-rw-r--r--options.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/options.c b/options.c
index b94e5020..ef6bdf37 100644
--- a/options.c
+++ b/options.c
@@ -84,7 +84,7 @@ static struct option longoptions[] = {
if negative, the command line is has one or more
syntax errors.
calls: none.
- globals: none.
+ globals: outlevel.
*********************************************************************/
int parsecmdline (argc,argv,options)
@@ -134,11 +134,11 @@ struct optrec *options;
break;
case 'v':
case LA_VERBOSE:
- options->verbose = !0;
+ outlevel = O_VERBOSE;
break;
case 's':
case LA_SILENT:
- options->silent = !0;
+ outlevel = O_SILENT;
break;
case 'c':
case LA_STDOUT:
@@ -316,6 +316,8 @@ struct optrec *options;
strcat(options->poprcfile, "/");
strcat(options->poprcfile, POPRC_NAME);
+ outlevel = O_NORMAL;
+
return(0);
}