aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--fetchmail.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 4e74ac31..57ed6f14 100644
--- a/NEWS
+++ b/NEWS
@@ -19,7 +19,7 @@ Inflict severe pain on the person(s) responsible for removing LAST from POP3.
fetchmail-1.6 ():
* Makefile fixes for correct linking on Sparcs and avoiding duplication of
- the md5 files (leading to harmless instsll-time error messages).
+ the md5 files (leading to harmless install-time error messages).
* Fix a bonehead coding error in pop3_delete() that was masked by the
Intel register architecture. *blush* Thanks to Jay Anderson.
@@ -29,6 +29,8 @@ fetchmail-1.6 ():
* Fix bug that prevented SMTP from being specified on the defaults line.
+* Allow program to run with no .fetchmailrc file again.
+
fetchmail-1.5 (Thu Oct 3 04:35:15 EDT 1996):
* Naturally, my decision to announce 1.4 on comp.os.linux.announce
diff --git a/fetchmail.c b/fetchmail.c
index 0e228811..c068df0f 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -161,7 +161,11 @@ char **argv;
/* perhaps we just want to check options? */
if (versioninfo) {
- printf("Taking options from command line and %s\n", rcfile);
+ printf("Taking options from command line");
+ if (access(rcfile, 0))
+ printf("\n");
+ else
+ printf("and %s\n", rcfile);
for (hostp = hostlist; hostp; hostp = hostp->next) {
printf("Options for host %s:\n", hostp->servername);
dump_params(hostp);