X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage.cc;h=0f98222d36a128283c2774e805a6af69f11f0228;hp=01950505900f8d161701883b5b7a5e7dc5e67d26;hb=4e5d2f22db290a830c0267f34b519c6138af00ed;hpb=c5085642b8c6495ffea3d5709aa6da14cd1d8688 diff --git a/lib/message.cc b/lib/message.cc index 01950505..0f98222d 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -739,8 +739,8 @@ notmuch_message_remove_all_tags (notmuch_message_t *message) return status; for (tags = notmuch_message_get_tags (message); - notmuch_tags_has_more (tags); - notmuch_tags_advance (tags)) + notmuch_tags_valid (tags); + notmuch_tags_move_to_next (tags)) { tag = notmuch_tags_get (tags);