diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-02-19 15:51:34 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-02-19 15:51:34 +0000 |
commit | 5eac0535f171ebb13b4449db5abcf503d540c7b5 (patch) | |
tree | d72e54dd5392d329619b2e39e6f957f2884fa681 | |
parent | c3cace9c75cdf2cf544500c5d5e335010dd6e154 (diff) | |
download | fetchmail-5eac0535f171ebb13b4449db5abcf503d540c7b5.tar.gz fetchmail-5eac0535f171ebb13b4449db5abcf503d540c7b5.tar.bz2 fetchmail-5eac0535f171ebb13b4449db5abcf503d540c7b5.zip |
Handle "account" token.
svn path=/trunk/; revision=1654
-rw-r--r-- | netrc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -239,9 +239,6 @@ parse_netrc (file) else { /* Fetch the next token. */ - if (!strcmp (tok, "account")) - last_token = tok_account; - if (!strcmp (tok, "default")) { maybe_add_to_list (¤t, &retval); @@ -261,6 +258,9 @@ parse_netrc (file) else if (!strcmp (tok, "password")) last_token = tok_password; + else if (!strcmp (tok, "account")) + last_token = tok_account; + else { fprintf (stderr, "%s:%d: warning: unknown token \"%s\"\n", |