diff options
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours_3way.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours_3way.c b/src/transport/gnunet-service-transport_neighbours_3way.c index b09812f61..cbddc6fd8 100644 --- a/src/transport/gnunet-service-transport_neighbours_3way.c +++ b/src/transport/gnunet-service-transport_neighbours_3way.c | |||
@@ -470,7 +470,7 @@ change (struct NeighbourMapEntry * n, int state, int line) | |||
470 | } | 470 | } |
471 | 471 | ||
472 | n->state = state; | 472 | n->state = state; |
473 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "State for neighbour `%s' %X changed from `%s' to `%s' in line %u\n", | 473 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "State for neighbour `%s' %X changed from `%s' to `%s' in line %u\n", |
474 | GNUNET_i2s (&n->id), n, old, new, line); | 474 | GNUNET_i2s (&n->id), n, old, new, line); |
475 | GNUNET_free (old); | 475 | GNUNET_free (old); |
476 | GNUNET_free (new); | 476 | GNUNET_free (new); |
@@ -1211,7 +1211,7 @@ GST_neighbours_switch_to_address_3way (const struct GNUNET_PeerIdentity *peer, | |||
1211 | return GNUNET_NO; | 1211 | return GNUNET_NO; |
1212 | } | 1212 | } |
1213 | 1213 | ||
1214 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Invalid connection state to switch addresses %u ", n->state); | 1214 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Invalid connection state to switch addresses %u \n", n->state); |
1215 | GNUNET_break_op (0); | 1215 | GNUNET_break_op (0); |
1216 | return GNUNET_NO; | 1216 | return GNUNET_NO; |
1217 | } | 1217 | } |
@@ -1787,10 +1787,9 @@ GST_neighbours_handle_connect_ack (const struct GNUNET_MessageHeader *message, | |||
1787 | int was_connected; | 1787 | int was_connected; |
1788 | 1788 | ||
1789 | #if DEBUG_TRANSPORT | 1789 | #if DEBUG_TRANSPORT |
1790 | #endif | 1790 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1791 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
1792 | "Received CONNECT_ACK message from peer `%s'\n", GNUNET_i2s (peer)); | 1791 | "Received CONNECT_ACK message from peer `%s'\n", GNUNET_i2s (peer)); |
1793 | 1792 | #endif | |
1794 | 1793 | ||
1795 | if (ntohs (message->size) != sizeof (struct SessionConnectMessage)) | 1794 | if (ntohs (message->size) != sizeof (struct SessionConnectMessage)) |
1796 | { | 1795 | { |