summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/connect.c b/examples/connect.c
index be46166..d63474f 100644
--- a/examples/connect.c
+++ b/examples/connect.c
@@ -159,7 +159,7 @@ tcp_start_tls_recv_cb (GObject *source,
g_object_unref (conn);
- ssl_session = wocky_tls_session_new (G_IO_STREAM (tcp), NULL, NULL);
+ ssl_session = wocky_tls_session_new (G_IO_STREAM (tcp));
ssl = wocky_tls_session_handshake (ssl_session, NULL, &error);
if (ssl == NULL)