aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 250a1bff..89aeb36c 100644
--- a/driver.c
+++ b/driver.c
@@ -1308,6 +1308,7 @@ is restored."));
/* compute # of messages and number of new messages waiting */
stage = STAGE_GETRANGE;
err = (ctl->server.base_protocol->getrange)(mailserver_socket, ctl, idp->id, &count, &newm, &bytes);
+ if (err != 0)
goto cleanUp;
/* show user how many messages we downloaded */