diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | netrc.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -18,6 +18,7 @@ fetchmail 4.0.3 () * Replace vsprintf with vnsprintf to avoid buffer-overrun screws. * Added via option to make ssh configuration cleaner. +* Allow either `login' or `user' in .netrc files. There are 257 people on the fetchmail-friends list. @@ -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; |