From: Stephan Bosch Date: Fri, 8 May 2020 14:22:48 +0000 (+0200) Subject: lib-http: test-http-client-errors: "reply payload" test - Fix name of server context... X-Git-Tag: 2.3.11.2~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c38fbb2627d809947dc78c298ae92987469dce1a;p=thirdparty%2Fdovecot%2Fcore.git lib-http: test-http-client-errors: "reply payload" test - Fix name of server context struct. --- diff --git a/src/lib-http/test-http-client-errors.c b/src/lib-http/test-http-client-errors.c index b46e4e977a..717946f5d0 100644 --- a/src/lib-http/test-http-client-errors.c +++ b/src/lib-http/test-http-client-errors.c @@ -987,22 +987,22 @@ static void test_broken_payload(void) /* server */ -struct _reply_payload_sctx { +struct _retry_payload_sctx { bool eoh; }; static int test_retry_payload_init(struct server_connection *conn) { - struct _reply_payload_sctx *ctx; + struct _retry_payload_sctx *ctx; - ctx = p_new(conn->pool, struct _reply_payload_sctx, 1); + ctx = p_new(conn->pool, struct _retry_payload_sctx, 1); conn->context = ctx; return 0; } static void test_retry_payload_input(struct server_connection *conn) { - struct _reply_payload_sctx *ctx = conn->context; + struct _retry_payload_sctx *ctx = conn->context; const char *line; while ((line = i_stream_read_next_line(conn->conn.input)) != NULL) {