aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-26 13:47:03 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-26 13:47:03 +0000
commit128a9da4bca6a3b8ff8f0e6a26edee2b89fe4d9e (patch)
tree795d7007d5b14699f395fc40d801b01a59b9ba97 /driver.c
parentf2b05d8d3f212639e91a678e4d4cd0629bac5a69 (diff)
downloadfetchmail-128a9da4bca6a3b8ff8f0e6a26edee2b89fe4d9e.tar.gz
fetchmail-128a9da4bca6a3b8ff8f0e6a26edee2b89fe4d9e.tar.bz2
fetchmail-128a9da4bca6a3b8ff8f0e6a26edee2b89fe4d9e.zip
Added fetchliimit message.
svn path=/trunk/; revision=2214
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 41eaa287..2c561a61 100644
--- a/driver.c
+++ b/driver.c
@@ -1963,8 +1963,13 @@ const struct method *proto; /* protocol method table */
error_complete(0, 0, _(" not flushed"));
/* perhaps this as many as we're ready to handle */
- if (NUM_NONZERO(ctl->fetchlimit) && ctl->fetchlimit <= fetches)
+ if (NUM_NONZERO(ctl->fetchlimit)
+ && ctl->fetchlimit <= fetches)
+ {
+ error(0, 0, _("fetchlimit reached; %d messages left on server"),
+ count - fetches);
goto no_error;
+ }
}
if (!check_only && ctl->skipped)