From e3e0e26806cf95cddd4dfb11c24d1ecd15171110 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sat, 24 Apr 2010 07:24:01 -0700 Subject: [PATCH] lib: Document that notmuch_query_count_messages may return 0 if an exception occurs This isn't a behavioral change---just a calrification in the documentation. --- lib/notmuch.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/notmuch.h b/lib/notmuch.h index 921b0fcf..54616336 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -506,6 +506,9 @@ notmuch_threads_destroy (notmuch_threads_t *threads); * * This function performs a search and returns Xapian's best * guess as to number of matching messages. + * + * If a Xapian exception occurs, this function may return 0 (after + * printing a message). */ unsigned notmuch_query_count_messages (notmuch_query_t *query); -- 2.43.0