aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-09 15:01:02 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-09 15:01:02 +0000
commit0f78d7c098a43c1670b3ac16b1b6139602c42f83 (patch)
tree66612f03086b8c8b939260e4afc7e493fbfd341b /src/transport
parente39c250461bdbc5e251d63cb7e3c310c1b7df2b5 (diff)
downloadgnunet-0f78d7c098a43c1670b3ac16b1b6139602c42f83.tar.gz
gnunet-0f78d7c098a43c1670b3ac16b1b6139602c42f83.zip
fix
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c
index 62fc441a1..40790dfe4 100644
--- a/src/transport/gnunet-service-transport_neighbours.c
+++ b/src/transport/gnunet-service-transport_neighbours.c
@@ -1092,10 +1092,9 @@ send_switch_address_continuation (void *cls,
1092 { 1092 {
1093#if DEBUG_TRANSPORT 1093#if DEBUG_TRANSPORT
1094 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1094 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1095 "Failed to switch connected peer `%s' to plugin `%s' address '%s' session %X, asking ATS for new address \n", 1095 "Failed to switch connected peer `%s' to address '%s' session %X, asking ATS for new address \n",
1096 GNUNET_i2s (&n->id), n->address->transport_name, 1096 GNUNET_i2s (&n->id),
1097 (n->addrlen == 1097 GST_plugins_a2s (n->address), n->session);
1098 0) ? "<inbound>" : GST_plugins_a2s (n->address), n->session);
1099#endif 1098#endif
1100 1099
1101 GNUNET_ATS_address_destroyed (GST_ats, n->address, NULL); 1100 GNUNET_ATS_address_destroyed (GST_ats, n->address, NULL);
@@ -1135,9 +1134,9 @@ send_connect_ack_continuation (void *cls,
1135 /* sending failed, ask for next address */ 1134 /* sending failed, ask for next address */
1136#if DEBUG_TRANSPORT 1135#if DEBUG_TRANSPORT
1137 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1136 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1138 "Failed to send CONNECT_MSG to peer `%4s' with plugin `%s' address '%s' session %X, asking ATS for new address \n", 1137 "Failed to send CONNECT_MSG to peer `%4s' with address '%s' session %X, asking ATS for new address \n",
1139 GNUNET_i2s (&n->id), n->address->transport_name, 1138 GNUNET_i2s (&n->id),
1140 (n->addrlen == 0) ? "<inbound>" : GST_plugins_a2s (n->address), 1139 GST_plugins_a2s (n->address),
1141 n->session); 1140 n->session);
1142#endif 1141#endif
1143 change_state (n, S_NOT_CONNECTED); 1142 change_state (n, S_NOT_CONNECTED);