diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-23 05:45:29 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-23 05:48:52 -0700 |
commit | 69b25a75ec8f4a8b27fe25f234a39a7e67287d36 (patch) | |
tree | 28b4ba5f75d14f67f2c223982d79ff5bd64d01cd /notmuch-private.h | |
parent | 17548e314a8f190765ca714d626068c5afef2cb4 (diff) |
Fix _notmuch_message_create to catch Xapian DocNotFoundError.
This function is only supposed to be called with a doc_id that
was queried from the database already. So there's an internal
error if no document with that doc_id can be found in the database.
In that case, return NULL.
Diffstat (limited to 'notmuch-private.h')
0 files changed, 0 insertions, 0 deletions