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 --- netrc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'netrc.c') 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