summaryrefslogtreecommitdiff
path: root/message.cc
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-10-26 14:12:56 -0700
committerCarl Worth <cworth@cworth.org>2009-10-26 14:12:56 -0700
commitef3ab5781a3730e019f92517366029540a960cd0 (patch)
treebb40ef980076be11f72bc05562026abb5dee6562 /message.cc
parent1726c5c814aecd924849a0b91c82d420af945827 (diff)
tags: Replace sort() and reset() with prepare_iterator().
The previous functions were always called together, so we might as well just have one function for this. Also, the reset() name was poor, and prepare_iterator() is much more descriptive.
Diffstat (limited to 'message.cc')
-rw-r--r--message.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/message.cc b/message.cc
index b95f9d7..66dfc80 100644
--- a/message.cc
+++ b/message.cc
@@ -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;
}