aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--netrc.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 89dae7f7..a086c3cf 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,7 @@ fetchmail-4.7.4 ():
* Michael Warfield's IPv6 fixes.
* Added Argentine Spanish as supported language (LC_ALL=pt_BR) from a
po file by Javier Cohen <jkohen@tough.com>.
+* Accept 'passwd' as a synonym for 'password' in .netrc files.
There are 249 people on fetchmail-friends and 335 on fetchmail-announce.
diff --git a/netrc.c b/netrc.c
index 7fda4e58..c3b3dad4 100644
--- a/netrc.c
+++ b/netrc.c
@@ -245,6 +245,9 @@ parse_netrc (file)
else if (!strcmp (tok, "password"))
last_token = tok_password;
+ else if (!strcmp (tok, "passwd"))
+ last_token = tok_password;
+
else if (!strcmp (tok, "account"))
last_token = tok_account;