From: Carl Worth Date: Sat, 23 Oct 2010 00:55:07 +0000 (-0700) Subject: lib: Fix notmuch_query_search_threads to return NULL on any Xapian exception. X-Git-Tag: 0.4~64 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=f6cb896bc4c0bafca1acd5ac3fb45169cd893e29;hp=f6cb896bc4c0bafca1acd5ac3fb45169cd893e29;p=notmuch lib: Fix notmuch_query_search_threads to return NULL on any Xapian exception. 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. ---