]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database.cc
lib: replace deprecated n_q_search_messages with status returning version
[notmuch] / lib / database.cc
index a679cbabbac95a2d39885292341370e1d040d8c0..125c4b92baab446e3c7faff5a01fc10232f4fe84 100644 (file)
@@ -1531,7 +1531,7 @@ notmuch_database_upgrade (notmuch_database_t *notmuch,
 
        query = notmuch_query_create (notmuch, "");
 
-       status = notmuch_query_search_messages_st (query, &messages);
+       status = notmuch_query_search_messages (query, &messages);
        if (status)
            goto DONE;
        for (;