message_file_get_header: Use break where more clear than continue.

Calling continue here worked only because we set a flag before the
continue, and, check the flag at the beginning of the loop, and *then*
break. It's much more clear to just break in the first place.
This commit is contained in:
Carl Worth 2009-11-17 18:37:45 -08:00
parent d025e89ac7
commit 8cf72920e1

View 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;