]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
notmuch show: Avoid segmentation for message with no subject.
[notmuch] / lib / notmuch.h
index c1c7980aa06fe898e4a9697f9c8542b59b0d715d..40a1dca7e1cab7467c90372f330848733fba1056 100644 (file)
@@ -618,8 +618,8 @@ notmuch_message_get_date  (notmuch_message_t *message);
  * modified or freed by the caller (nor should it be referenced after
  * the message is destroyed).
  *
  * modified or freed by the caller (nor should it be referenced after
  * the message is destroyed).
  *
- * Returns NULL if the message does not contain a header line matching
- * 'header' of if any error occurs.
+ * Returns an empty string ("") if the message does not contain a
+ * header line matching 'header'. Returns NULL if any error occurs.
  */
 const char *
 notmuch_message_get_header (notmuch_message_t *message, const char *header);
  */
 const char *
 notmuch_message_get_header (notmuch_message_t *message, const char *header);