diff options
author | Bart Polot <bart@net.in.tum.de> | 2015-06-10 12:08:18 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2015-06-10 12:08:18 +0000 |
commit | f93036732d675cb98c6e2f9064732d7e03a043e5 (patch) | |
tree | da684e2d2dfebae3cd8003f969777627f74e3a6e /src | |
parent | 3415ad933561b627814dbfc047587ca5b421e409 (diff) | |
download | gnunet-f93036732d675cb98c6e2f9064732d7e03a043e5.tar.gz gnunet-f93036732d675cb98c6e2f9064732d7e03a043e5.zip |
- move break to documentation
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 91401f297..b257ab53d 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c | |||
@@ -1671,9 +1671,8 @@ does_connection_exist (struct CadetConnection *conn) | |||
1671 | GCC_debug (c, GNUNET_ERROR_TYPE_DEBUG); | 1671 | GCC_debug (c, GNUNET_ERROR_TYPE_DEBUG); |
1672 | if (CADET_CONNECTION_READY == c->state) | 1672 | if (CADET_CONNECTION_READY == c->state) |
1673 | { | 1673 | { |
1674 | /* The other peer confirmed this connection, | 1674 | /* The other peer confirmed a live connection with this path, |
1675 | * they should not try to duplicate it. */ | 1675 | * why is it trying to duplicate it. */ |
1676 | GNUNET_break_op (0); /* FIXME */ | ||
1677 | return GNUNET_YES; | 1676 | return GNUNET_YES; |
1678 | } | 1677 | } |
1679 | 1678 | ||
@@ -1853,6 +1852,7 @@ GCC_handle_create (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
1853 | // Keep both and postpone disambiguation? | 1852 | // Keep both and postpone disambiguation? |
1854 | // Keep the one created by peer with higher ID? | 1853 | // Keep the one created by peer with higher ID? |
1855 | // For now: reject new connection until current confirmed dead | 1854 | // For now: reject new connection until current confirmed dead |
1855 | GNUNET_break_op (0); | ||
1856 | send_broken_unknown (cid, &my_full_id, NULL, peer); | 1856 | send_broken_unknown (cid, &my_full_id, NULL, peer); |
1857 | 1857 | ||
1858 | return GNUNET_OK; | 1858 | return GNUNET_OK; |