message_file_get_header: Use break where more clear than continue.
[notmuch] / lib / message-file.c
index 197ab0143f18e029cdd3b8858ce087fde507c3a4..3a1a681de5299eeca679800c8e045b83d6507b0d 100644 (file)
@@ -282,7 +282,7 @@ notmuch_message_file_get_header (notmuch_message_file_t *message,
                message->good_headers < 5)
            {
                message->parsing_finished = 1;
-               continue;
+               break;
            }
            NEXT_HEADER_LINE (NULL);
            continue;