aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index b0e39936..d3814038 100644
--- a/imap.c
+++ b/imap.c
@@ -147,7 +147,7 @@ int num;
int ok;
if ((ok = gen_transact(sockfp, "FETCH %d FLAGS", num)) != 0)
- exit(PS_ERROR);
+ return(PS_ERROR);
return(seen);
}