[glib-networking/wip/pwithnall/dtls: 17/21] fixup! tests: Add unit tests for DTLS support



commit aeb6d9acd8bade59211f679ea00590ad8a3def1e
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
    
    https://bugzilla.gnome.org/show_bug.cgi?id=697908

 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]