]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: test-http-client-errors: "reply payload" test - Fix name of server context...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Fri, 8 May 2020 14:22:48 +0000 (16:22 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Tue, 12 May 2020 08:08:43 +0000 (08:08 +0000)
src/lib-http/test-http-client-errors.c

index b46e4e977a695b999fb165ea74e73b7b47c56682..717946f5d06c6aeeff552489e15a9a19323b7f19 100644 (file)
@@ -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) {