From 2009cad4105e3fb89716f901728c2836ecfa5f8e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 3 Jan 1999 22:11:06 +0000 Subject: Accept 'passwd' as a synonym for 'password' in .netrc files. svn path=/trunk/; revision=2316 --- NEWS | 1 + netrc.c | 3 +++ 2 files changed, 4 insertions(+) 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 . +* 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; -- cgit v1.2.3