diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-19 16:31:33 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-19 16:31:33 +0000 |
commit | 5bd3f8287149511024b95c01fb4212e60ec6fe13 (patch) | |
tree | 8ec93923109e7115160a3ad820f5843fc958e0e1 /fetchmail.c | |
parent | 73562230401b2cd48301805f03aee052927fadd2 (diff) | |
download | fetchmail-5bd3f8287149511024b95c01fb4212e60ec6fe13.tar.gz fetchmail-5bd3f8287149511024b95c01fb4212e60ec6fe13.tar.bz2 fetchmail-5bd3f8287149511024b95c01fb4212e60ec6fe13.zip |
Major improvements in --check processing. New-message count is now visible.
svn path=/trunk/; revision=353
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c index 0bdae28c..5c1023e7 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -400,7 +400,8 @@ char **argv; if (hostp->active && !(implicitmode && hostp->skip)) { popstatus = query_host(hostp); - update_uid_lists(hostp); + if (!check_only) + update_uid_lists(hostp); } } @@ -422,7 +423,8 @@ void termhook(int sig) if (sig != 0) fprintf(stderr, "terminated with signal %d\n", sig); - write_saved_lists(hostlist, idfile); + if (!check_only) + write_saved_lists(hostlist, idfile); unlink(lockfile); exit(popstatus); |