summaryrefslogtreecommitdiff
path: root/gio/tests/socket-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/tests/socket-server.c')
-rw-r--r--gio/tests/socket-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/tests/socket-server.c b/gio/tests/socket-server.c
index f151681f9..a44b158c0 100644
--- a/gio/tests/socket-server.c
+++ b/gio/tests/socket-server.c
@@ -211,7 +211,7 @@ main (int argc,
if (tlscert)
{
- GTlsServerConnection *tls_conn;
+ GIOStream *tls_conn;
tls_conn = g_tls_server_connection_new (connection, tlscert, &error);
if (!tls_conn)
@@ -230,7 +230,7 @@ main (int argc,
}
g_object_unref (connection);
- connection = G_IO_STREAM (tls_conn);
+ connection = tls_conn;
}
if (connection)