]> git.notmuchmail.org Git - notmuch/blobdiff - message.cc
tags: Replace sort() and reset() with prepare_iterator().
[notmuch] / message.cc
index b95f9d7f4993d4bc94d9f7e7fa583aa0ae699e38..66dfc806d9f4e887b3fd2b3611667878184f05ea 100644 (file)
@@ -318,9 +318,7 @@ notmuch_message_get_tags (notmuch_message_t *message)
        i++;
     }
 
-    _notmuch_tags_sort (tags);
-
-    _notmuch_tags_reset (tags);
+    _notmuch_tags_prepare_iterator (tags);
 
     return tags;
 }