aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-05 17:12:06 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-05 17:12:06 +0000
commite1f14301c5aff878495c8716f867fc7af0c12e06 (patch)
tree32c810c70ec648b10f1b4247a7e63502e9a16415 /src/core/gnunet-service-core.c
parent094ab711fef63958da5b4cf1cbcb51f3aa2a49c0 (diff)
downloadgnunet-e1f14301c5aff878495c8716f867fc7af0c12e06.tar.gz
gnunet-e1f14301c5aff878495c8716f867fc7af0c12e06.zip
fix
Diffstat (limited to 'src/core/gnunet-service-core.c')
-rw-r--r--src/core/gnunet-service-core.c25
1 files changed, 6 insertions, 19 deletions
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c
index 37960f76a..e1a902217 100644
--- a/src/core/gnunet-service-core.c
+++ b/src/core/gnunet-service-core.c
@@ -3123,25 +3123,12 @@ send_key (struct Neighbour *n)
3123 } 3123 }
3124 if (GNUNET_YES != n->is_connected) 3124 if (GNUNET_YES != n->is_connected)
3125 { 3125 {
3126#if DEBUG_CORE 3126 GNUNET_STATISTICS_update (stats,
3127 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 3127 gettext_noop ("# Asking transport to connect (for SET_KEY)"),
3128 "Not yet connected to peer `%4s'!\n", 3128 1,
3129 GNUNET_i2s (&n->peer)); 3129 GNUNET_NO);
3130#endif 3130 GNUNET_TRANSPORT_try_connect (transport,
3131 if (NULL == n->th) 3131 &n->peer);
3132 {
3133 GNUNET_STATISTICS_update (stats,
3134 gettext_noop ("# Asking transport to connect (for SET_KEY)"),
3135 1,
3136 GNUNET_NO);
3137 n->th = GNUNET_TRANSPORT_notify_transmit_ready (transport,
3138 &n->peer,
3139 sizeof (struct SetKeyMessage) + sizeof (struct PingMessage),
3140 0,
3141 GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT,
3142 &notify_encrypted_transmit_ready,
3143 n);
3144 }
3145 return; 3132 return;
3146 } 3133 }
3147#if DEBUG_CORE 3134#if DEBUG_CORE