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 b95d134d..635228a7 100644
--- a/netrc.c
+++ b/netrc.c
@@ -220,6 +220,9 @@ parse_netrc (file)
else if (!strcmp (tok, "login"))
last_token = tok_login;
+ else if (!strcmp (tok, "user"))
+ last_token = tok_login;
+
else if (!strcmp (tok, "macdef"))
last_token = tok_macdef;