- move break to documentation
authorBart Polot <bart@net.in.tum.de>
Wed, 10 Jun 2015 12:08:18 +0000 (12:08 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 10 Jun 2015 12:08:18 +0000 (12:08 +0000)
src/cadet/gnunet-service-cadet_connection.c

index 91401f2977f28b0fa87ad9b4a5f83f0eea4046bf..b257ab53d210cac7e3bdaa660223d321ab29a50e 100644 (file)
@@ -1671,9 +1671,8 @@ does_connection_exist (struct CadetConnection *conn)
     GCC_debug (c, GNUNET_ERROR_TYPE_DEBUG);
     if (CADET_CONNECTION_READY == c->state)
     {
-      /* The other peer confirmed this connection,
-       * they should not try to duplicate it. */
-      GNUNET_break_op (0); /* FIXME */
+      /* The other peer confirmed a live connection with this path,
+       * why is it trying to duplicate it. */
       return GNUNET_YES;
     }
 
@@ -1853,6 +1852,7 @@ GCC_handle_create (void *cls, const struct GNUNET_PeerIdentity *peer,
       // Keep both and postpone disambiguation?
       // Keep the one created by peer with higher ID?
       // For now: reject new connection until current confirmed dead
+      GNUNET_break_op (0);
       send_broken_unknown (cid, &my_full_id, NULL, peer);
 
       return GNUNET_OK;