Return OK response unless something grave has happened
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -60,5 +60,7 @@ imap4d_lsub (struct imap4d_command *command, char *arg) | ... | @@ -60,5 +60,7 @@ imap4d_lsub (struct imap4d_command *command, char *arg) |
60 | fclose (fp); | 60 | fclose (fp); |
61 | return util_finish (command, RESP_OK, "Completed"); | 61 | return util_finish (command, RESP_OK, "Completed"); |
62 | } | 62 | } |
63 | else if (errno == ENOENT) | ||
64 | return util_finish (command, RESP_OK, "Completed"); | ||
63 | return util_finish (command, RESP_NO, "Can not list subscriber"); | 65 | return util_finish (command, RESP_NO, "Can not list subscriber"); |
64 | } | 66 | } | ... | ... |
-
Please register or sign in to post a comment