X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-restore.c;h=b0a4e1ce7905fc52157ce35c471fe1b31446f549;hp=53ce2548dc71ddf9755f497aa9a184542ade66ec;hb=4e5d2f22db290a830c0267f34b519c6138af00ed;hpb=c5085642b8c6495ffea3d5709aa6da14cd1d8688 diff --git a/notmuch-restore.c b/notmuch-restore.c index 53ce2548..b0a4e1ce 100644 --- a/notmuch-restore.c +++ b/notmuch-restore.c @@ -93,8 +93,8 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[]) db_tags_str = NULL; for (db_tags = notmuch_message_get_tags (message); - notmuch_tags_has_more (db_tags); - notmuch_tags_advance (db_tags)) + notmuch_tags_valid (db_tags); + notmuch_tags_move_to_next (db_tags)) { const char *tag = notmuch_tags_get (db_tags);