aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-02-18 06:33:55 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-02-18 06:33:55 +0000
commit7f99efc49d9f9b10cb87461288348cefe84ba05d (patch)
treed58985df3292e1839e6339be1a5f935c44912325 /uid.c
parentc03d5efe177b4937e17030e64313967803dcf5bf (diff)
downloadfetchmail-7f99efc49d9f9b10cb87461288348cefe84ba05d.tar.gz
fetchmail-7f99efc49d9f9b10cb87461288348cefe84ba05d.tar.bz2
fetchmail-7f99efc49d9f9b10cb87461288348cefe84ba05d.zip
Help trace file writing.
svn path=/trunk/; revision=2760
Diffstat (limited to 'uid.c')
-rw-r--r--uid.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/uid.c b/uid.c
index e5abda1a..2f63de53 100644
--- a/uid.c
+++ b/uid.c
@@ -454,6 +454,9 @@ void write_saved_lists(struct query *hostlist, const char *idfile)
unlink(idfile);
}
else
+ {
+ if (outlevel >= O_DEBUG)
+ report(stdout, "Writing fetchids file.\n");
if ((tmpfp = fopen(idfile, "w")) != (FILE *)NULL) {
for (ctl = hostlist; ctl; ctl = ctl->next) {
for (idp = ctl->oldsaved; idp; idp = idp->next)
@@ -466,6 +469,7 @@ void write_saved_lists(struct query *hostlist, const char *idfile)
fputs(idp->id, tmpfp);
fclose(tmpfp);
}
+ }
}
#endif /* POP3_ENABLE */