diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-03-13 20:20:19 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-03-13 20:20:19 +0000 |
commit | d3833f31da28808274c6d08804646116be7dabb8 (patch) | |
tree | 985ae69fd971dffb43a300f92f3b4867857267ab /fetchmail.c | |
parent | 8517cf573fdb368fa69d776bc113cd95c6646edb (diff) | |
download | fetchmail-d3833f31da28808274c6d08804646116be7dabb8.tar.gz fetchmail-d3833f31da28808274c6d08804646116be7dabb8.tar.bz2 fetchmail-d3833f31da28808274c6d08804646116be7dabb8.zip |
Re-engineer the UIDL stuff to avoid having the status flag collide
with message numbers.
svn path=/trunk/; revision=1699
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fetchmail.c b/fetchmail.c index da259b05..52ffa5f3 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -719,7 +719,7 @@ static int load_params(int argc, char **argv, int optind) /* make sure we have a nonempty host list to forward to */ if (!ctl->smtphunt) - save_str(&ctl->smtphunt, FALSE, fetchmailhost); + save_str(&ctl->smtphunt, fetchmailhost, FALSE); /* keep lusers from shooting themselves in the foot :-) */ if (poll_interval && ctl->limit) @@ -792,7 +792,7 @@ static int load_params(int argc, char **argv, int optind) /* if no folders were specified, set up the null one as default */ if (!ctl->mailboxes) - save_str(&ctl->mailboxes, -1, (char *)NULL); + save_str(&ctl->mailboxes, (char *)NULL, 0); /* maybe user overrode timeout on command line? */ if (ctl->server.timeout == -1) @@ -1102,10 +1102,10 @@ void dump_params (struct query *ctl) printf(" Messages will be SMTP-forwarded to:"); for (idp = ctl->smtphunt; idp; idp = idp->next) - if (ctl->server.protocol != P_ETRN || idp->val.num) + if (ctl->server.protocol != P_ETRN || idp->val.status.mark) { printf(" %s", idp->id); - if (!idp->val.num) + if (!idp->val.status.mark) printf(" (default)"); } printf("\n"); |