]> git.notmuchmail.org Git - notmuch/commitdiff
lib: Fix notmuch_query_search_threads to return NULL on any Xapian exception.
authorCarl Worth <cworth@cworth.org>
Sat, 23 Oct 2010 00:55:07 +0000 (17:55 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 23 Oct 2010 00:56:58 +0000 (17:56 -0700)
Previously, if the underlying search_messages hit an exception and returned
NULL, this function would ignore that and return a non-NULL, (but empty)
threads object. Fix this to properly propagate the error.


No differences found