notmuch show: Avoid segmentation for message with no subject.
authorCarl Worth <cworth@cworth.org>
Thu, 12 Nov 2009 07:00:58 +0000 (23:00 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 12 Nov 2009 07:00:58 +0000 (23:00 -0800)
commit091d18c54c046a08bda9d88982601589a1deea37
tree71d02f10bcdd4ac0ae01fadd297d2bfe135d4b72
parent5d614048b479fe998177668301da4b5c1fd9f56a
notmuch show: Avoid segmentation for message with no subject.

It's safer to return an empty string rather than NULL for missing
header values.
lib/message-file.c
lib/notmuch.h