summaryrefslogtreecommitdiffstats
path: root/notmuch-count.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-02-26 17:21:34 -0400
committerDavid Bremner <david@tethera.net>2017-03-22 08:35:07 -0300
commit5ce8e0b11b40f733e6231d2067764e76717a341a (patch)
treeb58f3e8f804d2d06e7070be05c71941c342c38a3 /notmuch-count.c
parent86cbd215eb67d7b996c977352a50e70c101cb641 (diff)
lib: replace deprecated n_q_count_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. One or two remaining uses of the (removed) non-status returning version fixed at the same time
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 d3457bbe..493be30f 100644
--- a/notmuch-count.c
+++ b/notmuch-count.c
@@ -92,7 +92,7 @@ print_count (notmuch_database_t *notmuch, const char *query_str,
switch (output) {
case OUTPUT_MESSAGES:
- status = notmuch_query_count_messages_st (query, &ucount);
+ status = notmuch_query_count_messages (query, &ucount);
if (print_status_query ("notmuch count", query, status))
return -1;
printf ("%u", ucount);