]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-count.c
lib: replace deprecated n_q_search_messages with status returning version
[notmuch] / notmuch-count.c
index 0b6e6f5443964f917d7577bc7719d578c253646c..d3457bbe91bd07747ddee2c86e3fe1392cac80d3 100644 (file)
@@ -14,7 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see http://www.gnu.org/licenses/ .
+ * along with this program.  If not, see https://www.gnu.org/licenses/ .
  *
  * Author: Keith Packard <keithp@keithp.com>
  */
@@ -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;