Skip to content

Commit 329a71f

Browse files
committed
Adjust to io_stream_create_ssl_client() API change
1 parent 8252065 commit 329a71f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/client.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ static void client_wait_connect(struct client *client)
150150
if (ssl_iostream_context_init_client(&conf.ssl_set, &ssl_ctx, &error) < 0)
151151
i_fatal("Failed to initialize SSL context: %s", error);
152152
}
153-
if (io_stream_create_ssl_client(ssl_ctx, conf.host, &conf.ssl_set,
154-
NULL,
153+
if (io_stream_create_ssl_client(ssl_ctx, conf.host, NULL, 0,
155154
&client->input, &client->output,
156155
&client->ssl_iostream, &error) < 0)
157156
i_fatal("Couldn't create SSL iostream: %s", error);

0 commit comments

Comments
 (0)