From: Stephan Bosch Date: Sat, 25 Apr 2020 11:24:59 +0000 (+0200) Subject: lib-http: test-http-payload - Remove useless and confusing break statements. X-Git-Tag: 2.3.11.2~168 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0612d53188bb5f7d73ac72834c54874da90cf72f;p=thirdparty%2Fdovecot%2Fcore.git lib-http: test-http-payload - Remove useless and confusing break statements. --- diff --git a/src/lib-http/test-http-payload.c b/src/lib-http/test-http-payload.c index 6726a0d06e..12825eeb75 100644 --- a/src/lib-http/test-http-payload.c +++ b/src/lib-http/test-http-payload.c @@ -309,14 +309,12 @@ client_handle_download_request(struct client_request *creq, "write(%s) failed: %s", o_stream_get_name(output), o_stream_get_error(output)); - break; case OSTREAM_SEND_ISTREAM_RESULT_ERROR_INPUT: i_assert(fstream->stream_errno != 0); i_fatal("test server: download: " "read(%s) failed: %s", i_stream_get_name(fstream), i_stream_get_error(fstream)); - break; } i_assert(ret != 0); @@ -514,14 +512,12 @@ client_request_echo_ostream_blocking(struct client_request *creq, "write(%s) failed for %s: %s", o_stream_get_name(payload_output), creq->path, o_stream_get_error(payload_output)); - break; case OSTREAM_SEND_ISTREAM_RESULT_ERROR_INPUT: i_assert(input->stream_errno != 0); i_fatal("test server: echo: " "read(%s) failed for %s: %s", i_stream_get_name(input), creq->path, i_stream_get_error(input)); - break; } i_assert(ret != 0); if (debug) {