]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-count.c
lib: replace deprecated n_q_count_messages with status returning version
[notmuch] / notmuch-count.c
index d3457bbe91bd07747ddee2c86e3fe1392cac80d3..493be30f07bb2d93d0beae2af01d7cee3b956c62 100644 (file)
@@ -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);