notmuch_tags_advance: Make safe against excessive calls.
authorCarl Worth <cworth@cworth.org>
Sun, 15 Nov 2009 07:02:55 +0000 (23:02 -0800)
committerCarl Worth <cworth@cworth.org>
Sun, 15 Nov 2009 07:02:55 +0000 (23:02 -0800)
commitc979fc5b05a541d8488b77cbbc590ed3955690df
treec169dcc55e145746a8ef605835a44d59e16557c1
parent322fe4f3fb6a547764715aecb4992f1c77547579
notmuch_tags_advance: Make safe against excessive calls.

Previously, an excess call would have caused a crash. Now it simply
does nothing. Also, make notmuch_tags_get use a similar, consistent
early return for a NULL iterator.
lib/tags.c