diff options
author | Jani Nikula <jani@nikula.org> | 2014-04-16 22:59:16 +1000 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-07-09 20:29:36 -0300 |
commit | ab24e883b008b3fe2e211d87c6c88ec2aa01bdc0 (patch) | |
tree | 2597ec62311fd5010b917f95707180911ca41c28 /lib/database-private.h | |
parent | 6721222ea8e3e8c0de15c5ae6f3ae0e388676c2a (diff) |
lib: add return status to database close and destroy
notmuch_database_close may fail in Xapian ->flush() or ->close(), so
report the status. Similarly for notmuch_database_destroy which calls
close.
This is required for notmuch insert to report error status if message
indexing failed.
Diffstat (limited to 'lib/database-private.h')
0 files changed, 0 insertions, 0 deletions