Commit 6c341389 6c3413894c9ad33bb866cb018d7da154b72c7fab by Sergey Poznyakoff

Return OK response unless something grave has happened

1 parent 288f1e93
......@@ -60,5 +60,7 @@ imap4d_lsub (struct imap4d_command *command, char *arg)
fclose (fp);
return util_finish (command, RESP_OK, "Completed");
}
else if (errno == ENOENT)
return util_finish (command, RESP_OK, "Completed");
return util_finish (command, RESP_NO, "Can not list subscriber");
}
......