diff options
-rw-r--r-- | maildir.c | 2 | ||||
-rw-r--r-- | maildrop.c | 4 | ||||
-rw-r--r-- | session.c | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -157,7 +157,7 @@ new_to_cur(struct mdrop *m) strcmp(dp->d_name, "..") == 0) continue; - if(renameat(new_fd, dp->d_name, cur_fd, dp->d_name) == -1) { + if (renameat(new_fd, dp->d_name, cur_fd, dp->d_name) == -1) { logit(LOG_CRIT, "maildir: renameat failed"); return (-1); } @@ -322,12 +322,12 @@ list_all(struct imsgev *iev, struct imsg *imsg, struct m_backend *mb) sizeof(res.u.hash)); } else res.u.sz = m.msgs_index[i]->sz; - + imsgev_xcompose(iev, IMSG_MAILDROP_LISTALL, imsg->hdr.peerid, 0, -1, &res, sizeof(res), "maildrop_list"); } - + res.uidl = *uidl; /* terminal sentinel: hash = "" and sz = 0 */ if (*uidl) @@ -608,7 +608,7 @@ handle_list_all(struct session *s, struct imsg *imsg) if (res->uidl) if (strlen(res->u.hash)) session_reply(s, "%zu %s", res->idx, res->u.hash); - else + else goto end; else if (res->u.sz) |