]> git.notmuchmail.org Git - notmuch/blobdiff - lib/message.cc
test: add regression test for notmuch_message_has_maildir_flag
[notmuch] / lib / message.cc
index 4e1be986abc326842314b9d92c8553bb1aea016d..bb4b2fa12a00ef6a8e99c9e0ba73a181e842a7cd 100644 (file)
@@ -1732,7 +1732,8 @@ _ensure_maildir_flags (notmuch_message_t *message, bool force)
            message->maildir_flags = NULL;
        }
     }
-
+    /* n_m_get_filenames returns NULL for errors, which terminates the
+     * loop */
     for (filenames = notmuch_message_get_filenames (message);
         notmuch_filenames_valid (filenames);
         notmuch_filenames_move_to_next (filenames)) {