aboutsummaryrefslogtreecommitdiff
path: root/lib/database.cc
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-02-26 17:21:32 -0400
committerDavid Bremner <david@tethera.net>2017-03-22 08:35:07 -0300
commit86cbd215eb67d7b996c977352a50e70c101cb641 (patch)
tree2186342f5aa9f2d11c275eb30cfbbca5330e4fa2 /lib/database.cc
parent1e982de508c39dae7a61403f536df74c180dfb72 (diff)
lib: replace deprecated n_q_search_messages with status returning version
This function was deprecated in notmuch 0.21. We re-use the name for a status returning version, and deprecate the _st name.
Diffstat (limited to 'lib/database.cc')
-rw-r--r--lib/database.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/database.cc b/lib/database.cc
index a679cbab..125c4b92 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -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 (;