diff options
-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", |