[glib-networking/wip/pwithnall/dtls: 9/12] fixup! tests: Add unit tests for DTLS support
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/wip/pwithnall/dtls: 9/12] fixup! tests: Add unit tests for DTLS support
- Date: Mon, 18 Jan 2016 18:09:28 +0000 (UTC)
commit a3cf76d5fa036ab8b71e7089052f3733a0680b00
Author: Philip Withnall <philip withnall collabora co uk>
Date: Mon Jan 18 13:59:31 2016 +0000
fixup! tests: Add unit tests for DTLS support
tls/tests/dtls-connection.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tls/tests/dtls-connection.c b/tls/tests/dtls-connection.c
index 4b451db..5c4e1b9 100644
--- a/tls/tests/dtls-connection.c
+++ b/tls/tests/dtls-connection.c
@@ -229,7 +229,7 @@ on_rehandshake_finish (GObject *object,
g_clear_error (&test->server_error);
n_sent = g_datagram_based_send_messages (test->server_connection,
&message, 1,
- G_SOCKET_MSG_NONE, FALSE, NULL,
+ G_SOCKET_MSG_NONE, 0, NULL,
&test->server_error);
g_main_context_iteration (NULL, FALSE);
}
@@ -335,7 +335,7 @@ on_incoming_connection (GSocket *socket,
g_clear_error (&test->server_error);
n_sent = g_datagram_based_send_messages (test->server_connection,
&message, 1,
- G_SOCKET_MSG_NONE, FALSE, NULL,
+ G_SOCKET_MSG_NONE, 0, NULL,
&test->server_error);
g_main_context_iteration (NULL, FALSE);
}
@@ -416,7 +416,7 @@ read_test_data_async (TestConnection *test)
g_clear_error (&test->read_error);
n_read = g_datagram_based_receive_messages (test->client_connection,
&message, 1,
- G_SOCKET_MSG_NONE, FALSE,
+ G_SOCKET_MSG_NONE, 0,
NULL, &test->read_error);
g_main_context_iteration (NULL, FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]