summaryrefslogtreecommitdiffstats
path: root/notmuch-count.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-02-26 17:21:32 -0400
committerDavid Bremner <david@tethera.net>2017-03-22 08:35:07 -0300
commit86cbd215eb67d7b996c977352a50e70c101cb641 (patch)
tree2186342f5aa9f2d11c275eb30cfbbca5330e4fa2 /notmuch-count.c
parent1e982de508c39dae7a61403f536df74c180dfb72 (diff)
lib: replace deprecated n_q_search_messages with status returning version
This function was deprecated in notmuch 0.21. We re-use the name for a status returning version, and deprecate the _st name.
Diffstat (limited to 'notmuch-count.c')
-rw-r--r--notmuch-count.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-count.c b/notmuch-count.c
index 35a2aa70..d3457bbe 100644
--- a/notmuch-count.c
+++ b/notmuch-count.c
@@ -43,7 +43,7 @@ count_files (notmuch_query_t *query)
notmuch_status_t status;
int count = 0;
- status = notmuch_query_search_messages_st (query, &messages);
+ status = notmuch_query_search_messages (query, &messages);
if (print_status_query ("notmuch count", query, status))
return -1;