]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-count.c
lib: replace deprecated n_q_count_threads with status returning version
[notmuch] / notmuch-count.c
index 493be30f07bb2d93d0beae2af01d7cee3b956c62..cf80ee25a102fc4f469fc26ce50c85bf8096eb1e 100644 (file)
@@ -98,7 +98,7 @@ print_count (notmuch_database_t *notmuch, const char *query_str,
        printf ("%u", ucount);
        break;
     case OUTPUT_THREADS:
-       status = notmuch_query_count_threads_st (query, &ucount);
+       status = notmuch_query_count_threads (query, &ucount);
        if (print_status_query ("notmuch count", query, status))
            return -1;
        printf ("%u", ucount);