aboutsummaryrefslogtreecommitdiffstats
path: root/netrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'netrc.c')
-rw-r--r--netrc.c3
1 files changed, 3 insertions, 0 deletions
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;