]> git.notmuchmail.org Git - notmuch/commit
notmuch search: Fix to handle failure of notmuch_query_search_threads.
authorCarl Worth <cworth@cworth.org>
Sat, 23 Oct 2010 00:57:02 +0000 (17:57 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 23 Oct 2010 01:03:39 +0000 (18:03 -0700)
commit14a2227f77bcf69235034326fb35440b31354cea
tree0fe0d872f5dc27bf6c4e15bb7ed0c09bdf41a9fc
parentf6cb896bc4c0bafca1acd5ac3fb45169cd893e29
notmuch search: Fix to handle failure of notmuch_query_search_threads.

Now that notmuch_query_search_threads can return NULL, (for example,
due to a Xapian exception), we need to handle that case (rather than
just segfault). It's simple enough to just return a non-zero exit
code.
notmuch-search.c