aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
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)