X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage.cc;h=f8215a49f7dc93b482fb1d309b5ce8c68d6ba2f3;hp=cb313326270e6bc3b0ba5813a5491269e5a62ebb;hb=e08f5f76e406de2c6bdcf85952aaeb66ec0d37de;hpb=a8a270522231b186493ecd97d56a1343382d51d8 diff --git a/lib/message.cc b/lib/message.cc index cb313326..f8215a49 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -1129,7 +1129,7 @@ _notmuch_message_delete (notmuch_message_t *message) query = notmuch_query_create (notmuch, query_string); if (query == NULL) return NOTMUCH_STATUS_OUT_OF_MEMORY; - status = notmuch_query_count_messages_st (query, &count); + status = notmuch_query_count_messages (query, &count); if (status) { notmuch_query_destroy (query); return status;