aboutsummaryrefslogtreecommitdiff
path: root/lib/database.cc
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2015-06-07 17:01:58 +0200
committerDavid Bremner <david@tethera.net>2015-09-04 08:08:18 -0300
commit110694b00b79793b3c09a0349c0ff7608df551d6 (patch)
tree6f36079973a1c84e3a8b8f1d547e7415ad6f17f6 /lib/database.cc
parentf16944c3b40be414aac85762e2f075a9d1239736 (diff)
lib: note remaining uses of deprecated message search API
The two remaining cases in the lib seem to require more than a simple replacement of the old call, with the new call plus a check of the return value.
Diffstat (limited to 'lib/database.cc')
-rw-r--r--lib/database.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/database.cc b/lib/database.cc
index bab33341..b3ffd04d 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -1441,6 +1441,8 @@ notmuch_database_upgrade (notmuch_database_t *notmuch,
notmuch_message_t *message;
char *filename;
+ /* XXX: this should use the _st version, but needs an error
+ path */
for (messages = notmuch_query_search_messages (query);
notmuch_messages_valid (messages);
notmuch_messages_move_to_next (messages))