diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-01-03 22:11:06 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-01-03 22:11:06 +0000 |
commit | 2009cad4105e3fb89716f901728c2836ecfa5f8e (patch) | |
tree | cb35efab2c37de51afdb78f7b88ed9a71d037678 /netrc.c | |
parent | ad22fdfceb2e4657bf7069b5139c82408f1565c4 (diff) | |
download | fetchmail-2009cad4105e3fb89716f901728c2836ecfa5f8e.tar.gz fetchmail-2009cad4105e3fb89716f901728c2836ecfa5f8e.tar.bz2 fetchmail-2009cad4105e3fb89716f901728c2836ecfa5f8e.zip |
Accept 'passwd' as a synonym for 'password' in .netrc files.
svn path=/trunk/; revision=2316
Diffstat (limited to 'netrc.c')
-rw-r--r-- | netrc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |