diff options
author | Sunil Nimmagadda <sunil@nimmagadda.net> | 2014-04-11 10:06:17 +0500 |
---|---|---|
committer | Sunil Nimmagadda <sunil@nimmagadda.net> | 2014-04-11 10:06:17 +0500 |
commit | 3d1ad714aca03de7c3d9212a1d1b6848ca8f83b6 (patch) | |
tree | 48c85a08ecc94169900c98570d20e54fff8baaec | |
parent | aaf9b53332b4afd163caf8b5b1311247c81bbce9 (diff) |
Mark uidl correctly in list_res for the terminal. Fixes UIDL command
on an empty maildrop.
-rw-r--r-- | maildrop.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -328,6 +328,7 @@ list_all(struct imsgev *iev, struct imsg *imsg, struct m_backend *mb) "maildrop_list"); } + res.uidl = *uidl; /* terminal sentinel: hash = "" and sz = 0 */ if (*uidl) strlcpy(res.u.hash, "", sizeof(res.u.hash)); |