diff options
author | David Bremner <david@tethera.net> | 2020-07-05 10:00:16 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2020-07-14 07:12:52 -0300 |
commit | 6eaadb43adae2cca2f8023830d498ef3164f7fe9 (patch) | |
tree | a9346f2f5490826f832e0f95b9eb84ebf3568e50 /lib | |
parent | ef15946defec52182c59d00c23fe6167fbca8855 (diff) |
lib: add regression test for n_m_get_date; clarify API
This function catches Xapian exceptions. The test is intended to make
sure it stays that way.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/notmuch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h index e544aafd..50d804fa 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -1503,6 +1503,8 @@ notmuch_message_set_flag (notmuch_message_t *message, * For the original textual representation of the Date header from the * message call notmuch_message_get_header() with a header value of * "date". + * + * Returns 0 in case of error. */ time_t notmuch_message_get_date (notmuch_message_t *message); |