[gnome-network-displays/cc-tmp: 39/80] cc: less words, more meaning




commit 653e4b021cfaeedb462f1b4f7e1983de99ca4bf8
Author: Benjamin Berg <benjamin sipsolutions net>
Date:   Sat Sep 3 11:37:14 2022 +0000

    cc: less words, more meaning

 src/cc/cc-comm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/cc/cc-comm.c b/src/cc/cc-comm.c
index a73f366..a3ff40c 100644
--- a/src/cc/cc-comm.c
+++ b/src/cc/cc-comm.c
@@ -241,9 +241,7 @@ cc_comm_make_connection (CcComm *comm, gchar *remote_address, GError **error)
   GSocketAddress * address = NULL;
   g_autoptr(GError) err = NULL;
 
-  /* It is a programming error if ->con is not NULL at this point
-   * i.e. when disconnecting con needs to be set to NULL!
-   */
+  /* we must be disconnected */
   g_assert (comm->con == NULL);
 
   socket_type = G_SOCKET_TYPE_STREAM;


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