X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage.cc;h=f8215a49f7dc93b482fb1d309b5ce8c68d6ba2f3;hp=cb313326270e6bc3b0ba5813a5491269e5a62ebb;hb=5ce8e0b11b40f733e6231d2067764e76717a341a;hpb=86cbd215eb67d7b996c977352a50e70c101cb641 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;