lib: replace deprecated n_q_search_messages with status returning version
[notmuch] / notmuch-dump.c
index e7965ceab1c55fb9347b6657df45fa62330b4839..0cbcdc16695c3686ff6d1058da913be336a8ad63 100644 (file)
@@ -240,7 +240,7 @@ database_dump_file (notmuch_database_t *notmuch, gzFile output,
      */
     notmuch_query_set_sort (query, NOTMUCH_SORT_UNSORTED);
 
-    status = notmuch_query_search_messages_st (query, &messages);
+    status = notmuch_query_search_messages (query, &messages);
     if (print_status_query ("notmuch dump", query, status))
        return EXIT_FAILURE;