From 5bd3f8287149511024b95c01fb4212e60ec6fe13 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 19 Oct 1996 16:31:33 +0000 Subject: Major improvements in --check processing. New-message count is now visible. svn path=/trunk/; revision=353 --- fetchmail.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'fetchmail.c') 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); -- cgit v1.2.3