mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit cfb490561a9edefcd549234b93abaef6d37e353d
parent 4296c369f6757e8fe8938dc02053309753075971
Author: Duncaen <mail@duncano.de>
Date:   Fri, 29 Jul 2016 22:04:08 +0200

mpick: fix subject expression, broke while normalizing style

Diffstat:
mpick.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mpick.c b/mpick.c @@ -738,11 +738,11 @@ msg_date(struct mailinfo *m) char * msg_subject(struct mailinfo *m) { - if (!*m->subject) + if (!m->subject) return m->subject; char *b; - if (m->msg == 0 || (b = blaze822_hdr(m->msg, "subject")) == 0) + if (!m->msg || !(b = blaze822_hdr(m->msg, "subject"))) return ""; blaze822_decode_rfc2047(m->subject, b, sizeof m->subject - 1, "UTF-8");