diff --git a/ep_generate_release_description/ep_generate_release_description.c b/ep_generate_release_description/ep_generate_release_description.c index db677d4..288cc29 100644 --- a/ep_generate_release_description/ep_generate_release_description.c +++ b/ep_generate_release_description/ep_generate_release_description.c @@ -47,6 +47,7 @@ int main(int argc, char** argv) else if (state == 1 && !strncmp(line, szEndPattern, strlen(szEndPattern))) { state = 2; + break; } if (state == 1) { @@ -67,4 +68,4 @@ int main(int argc, char** argv) } return 0; -} \ No newline at end of file +}