if (notmuch == NULL)
return 1;
+ notmuch_database_set_maildir_sync (notmuch,
+ notmuch_config_get_maildir_sync (config));
if (argc) {
input = fopen (argv[0], "r");
if (input == NULL) {
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);