diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-07-30 21:29:48 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-07-30 21:29:48 +0000 |
commit | 768378869dfbe86f5bd0084db3187c67347f0537 (patch) | |
tree | 8e616dc254af41321e8053cba2eb0a90ed5afbf6 /uid.c | |
parent | 57e04d21058a54b858c7d1d4b1f32164671c8dc4 (diff) | |
download | fetchmail-768378869dfbe86f5bd0084db3187c67347f0537.tar.gz fetchmail-768378869dfbe86f5bd0084db3187c67347f0537.tar.bz2 fetchmail-768378869dfbe86f5bd0084db3187c67347f0537.zip |
Break the pollname out of the names list.
svn path=/trunk/; revision=1207
Diffstat (limited to 'uid.c')
-rw-r--r-- | uid.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,7 +82,7 @@ void initialize_saved_lists(struct query *hostlist, const char *idfile) { for (ctl = hostlist; ctl; ctl = ctl->next) { - if (strcasecmp(host, ctl->server.names->id) == 0 + if (strcasecmp(host, ctl->server.truename) == 0 && strcasecmp(user, ctl->remotename) == 0) { save_str(&ctl->oldsaved, -1, id); @@ -255,7 +255,7 @@ void write_saved_lists(struct query *hostlist, const char *idfile) for (ctl = hostlist; ctl; ctl = ctl->next) { for (idp = ctl->oldsaved; idp; idp = idp->next) fprintf(tmpfp, "%s@%s %s\n", - ctl->remotename, ctl->server.names->id, idp->id); + ctl->remotename, ctl->server.truename, idp->id); } for (idp = scratchlist; idp; idp = idp->next) fputs(idp->id, tmpfp); |