]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: test-smtp-server-errors - Add smtp server connection object to test server...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Sun, 18 Aug 2024 01:23:35 +0000 (03:23 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 17 Jan 2025 08:40:01 +0000 (10:40 +0200)
src/lib-smtp/test-smtp-server-errors.c

index fd20f8ceb4fa2e366be9b32e26bd775c538b7878..4915f0a151680a4de0c63d4e6346dc241f5fe986 100644 (file)
@@ -31,6 +31,7 @@ static void main_deinit(void);
  */
 
 struct server_connection {
+       struct smtp_server_connection *conn;
        void *context;
 };
 
@@ -3709,6 +3710,7 @@ static void server_connection_accept(void *context ATTR_UNUSED)
                i_stream_unref(&input);
                o_stream_unref(&output);
        }
+       sconn->conn = conn;
        smtp_server_connection_start(conn);
 }