]> git.notmuchmail.org Git - notmuch/blobdiff - test/T560-lib-error.sh
lib: replace deprecated n_q_search_messages with status returning version
[notmuch] / test / T560-lib-error.sh
index e775216ee29bd47ff55f31fa03a202580c663eea..f18c88132252c87a4f2e92fd2340018fc8c264d1 100755 (executable)
@@ -286,7 +286,7 @@ cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
    {
        notmuch_messages_t *messages = NULL;
        notmuch_query_t *query=notmuch_query_create (db, "*");
-       stat = notmuch_query_search_messages_st (query, &messages);
+       stat = notmuch_query_search_messages (query, &messages);
    }
 EOF
 sed 's/^\(A Xapian exception [^:]*\):.*$/\1/' < OUTPUT > OUTPUT.clean