]> git.notmuchmail.org Git - notmuch/blobdiff - lib/message.cc
lib: Rename iterator functions to prepare for reverse iteration.
[notmuch] / lib / message.cc
index 01950505900f8d161701883b5b7a5e7dc5e67d26..0f98222d36a128283c2774e805a6af69f11f0228 100644 (file)
@@ -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);