[gnome-network-displays/cc-tmp: 50/80] cc: remove socket timeout since it applies to read as well




commit a07ee8074b281836c7dcff29fae6f2b98d856a92
Author: Anupam Kumar <kyteinsky gmail com>
Date:   Sun Sep 4 14:17:13 2022 +0530

    cc: remove socket timeout since it applies to read as well

 src/cc/cc-comm.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/cc/cc-comm.c b/src/cc/cc-comm.c
index 42fd397..891ee22 100644
--- a/src/cc/cc-comm.c
+++ b/src/cc/cc-comm.c
@@ -250,8 +250,6 @@ cc_comm_make_connection (CcComm *comm, gchar *remote_address, GError **error)
       return FALSE;
     }
 
-  g_socket_set_timeout (socket, CC_MAX_MESSAGE_TIMEOUT);
-
   connectable = g_network_address_parse (remote_address, 8009, error);
   if (connectable == NULL)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]