aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-29 19:51:48 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-29 19:51:48 +0000
commit9107f6f45fe2cb1ea1e73023b8f5ef417867fd7a (patch)
treebaa36d0895daa606215a70900525a038c8bbb3db
parent5d0ef5e37f24ae159d39b13358a297aab55b991e (diff)
downloadfetchmail-9107f6f45fe2cb1ea1e73023b8f5ef417867fd7a.tar.gz
fetchmail-9107f6f45fe2cb1ea1e73023b8f5ef417867fd7a.tar.bz2
fetchmail-9107f6f45fe2cb1ea1e73023b8f5ef417867fd7a.zip
Make fetchmail -q faster.
svn path=/trunk/; revision=426
-rw-r--r--NEWS1
-rw-r--r--fetchmail.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 12bfed17..9c54fd6f 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
pl 1.9.5 ():
* Added -N, --nodetach option for debugging purposes.
* Use interval timers for poll-interval sleep and nonresponse timeout.
+* fetchmail -q no longer parses the configuration file.
pl 1.9.4 (Mon Oct 28 20:58:48 EST 1994):
* Correct status interpretation in closemailpipe() (thanks to Neil Harkins).
diff --git a/fetchmail.c b/fetchmail.c
index 905fa390..bf64ed0a 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -157,7 +157,7 @@ char **argv;
rcfile);
exit(0);
}
- else if (querylist == NULL) {
+ else if (!quitmode && querylist == NULL) {
(void) fputs("fetchmail: no mailservers have been specified.\n", stderr);
exit(PS_SYNTAX);
}
@@ -385,7 +385,7 @@ char **argv;
(poll_interval);
if (outlevel == O_VERBOSE)
- fprintf(stderr, "fetchmail: normal termination, status %d\n", popstatus);
+ fprintf(stderr,"fetchmail: normal termination, status %d\n",popstatus);
termhook(0);
exit(popstatus);