aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-13 21:24:27 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-13 21:24:27 +0000
commite644052b38ac03a5683f6ba48554dfb4cfe78c9c (patch)
tree69c0ae12e6b4edcc6766999455c0c821d5c2d446 /uid.c
parent1a4bd3b6e4bd25b98a763decd9000b118483b2a8 (diff)
downloadfetchmail-e644052b38ac03a5683f6ba48554dfb4cfe78c9c.tar.gz
fetchmail-e644052b38ac03a5683f6ba48554dfb4cfe78c9c.tar.bz2
fetchmail-e644052b38ac03a5683f6ba48554dfb4cfe78c9c.zip
Gather all server data into a restorable structure.
svn path=/trunk/; revision=754
Diffstat (limited to 'uid.c')
-rw-r--r--uid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uid.c b/uid.c
index f4e81a9f..32aa0b36 100644
--- a/uid.c
+++ b/uid.c
@@ -84,7 +84,7 @@ void initialize_saved_lists(struct query *hostlist, const char *idfile)
{
for (ctl = hostlist; ctl; ctl = ctl->next)
{
- if (strcmp(host, ctl->servernames->id) == 0
+ if (strcmp(host, ctl->server.names->id) == 0
&& strcmp(user, ctl->remotename) == 0)
{
save_str(&ctl->oldsaved, -1, id);
@@ -256,7 +256,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->servernames->id, idp->id);
+ ctl->remotename, ctl->server.names->id, idp->id);
}
for (idp = scratchlist; idp; idp = idp->next)
fputs(idp->id, tmpfp);