aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-02-21 16:22:08 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-02-21 16:22:08 +0000
commit137bb72965325f4aac6db1d395ed10b7efe59a9c (patch)
tree377efe1c1eff6cbdc34eb31e3f89cd2d7884c7fc /uid.c
parent62cb8838dcaeb8e69e847fccb5177f4a074303f6 (diff)
downloadfetchmail-137bb72965325f4aac6db1d395ed10b7efe59a9c.tar.gz
fetchmail-137bb72965325f4aac6db1d395ed10b7efe59a9c.tar.bz2
fetchmail-137bb72965325f4aac6db1d395ed10b7efe59a9c.zip
Fix parsing of .fetchids file.
svn path=/trunk/; revision=913
Diffstat (limited to 'uid.c')
-rw-r--r--uid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uid.c b/uid.c
index d7179973..a0ea4a2e 100644
--- a/uid.c
+++ b/uid.c
@@ -80,7 +80,7 @@ void initialize_saved_lists(struct query *hostlist, const char *idfile)
while (fgets(buf, POPBUFSIZE, tmpfp) != (char *)NULL)
{
/* possible lossage here with very old versions of sscanf(3)... */
- if ((st = sscanf(buf, "%[^@]@%s %s\n", host, user, id)) == 3)
+ if ((st = sscanf(buf, "%[^@]@%s %s\n", user, host, id)) == 3)
{
for (ctl = hostlist; ctl; ctl = ctl->next)
{