diff options
author | Carl Worth <cworth@cworth.org> | 2009-11-17 18:37:45 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-17 18:37:45 -0800 |
commit | 8cf72920e11c950fe7ae76cb762f79506aa8acfe (patch) | |
tree | 9feef68205f278553acf45271e99275116ecd41d | |
parent | d025e89ac7ccecc9a6bbea5e867fcc15589f81b5 (diff) |
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.
-rw-r--r-- | lib/message-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/message-file.c b/lib/message-file.c index 197ab014..3a1a681d 100644 --- a/lib/message-file.c +++ b/lib/message-file.c @@ -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; |