summary refs log tree commit diff
path: root/rfc2231.c
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-01-12 16:34:55 +0100
committerLeah Neukirchen <leah@vuxu.org>2020-01-12 16:55:07 +0100
commit55035ad8b28b407f39def5c2b139a29e7e182958 (patch)
tree3f72642416554f93e4595864cd7ce63bc213d58c /rfc2231.c
parent6705b3ee2956782a7267d7c4be82c3cbae40c7ed (diff)
downloadmblaze-55035ad8b28b407f39def5c2b139a29e7e182958.tar.gz
mblaze-55035ad8b28b407f39def5c2b139a29e7e182958.tar.xz
mblaze-55035ad8b28b407f39def5c2b139a29e7e182958.zip
mcom: check if a draft was found when invoking `mcom -r`
Without this patch `mcom -r` would invoke $EDITOR on a directory if the
maildir did not contain any drafts. To prevent this from happening,
check if a draft was found before performing any further processing. If
not, terminate mcom with an error message.

Closes: #169 [via git-merge-pr]
Diffstat (limited to 'rfc2231.c')
0 files changed, 0 insertions, 0 deletions