X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fdatabase.cc;h=6d0e5a63fd81c6b4163860e84b1e6af8258394bb;hb=d4321162ae1bd5cbbf620a8bc26cec5430acf90b;hp=bab333412de1c9edb713b222ebad0400b6cf8987;hpb=cb08a2ee019e52dc29ba393d139fce8d7282c632;p=notmuch diff --git a/lib/database.cc b/lib/database.cc index bab33341..6d0e5a63 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)) @@ -2651,7 +2653,7 @@ notmuch_database_get_all_tags (notmuch_database_t *db) } const char * -notmuch_database_status_string (notmuch_database_t *notmuch) +notmuch_database_status_string (const notmuch_database_t *notmuch) { return notmuch->status_string; }