aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-04 13:32:45 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-04 13:32:45 +0000
commitf23af8a34c2abcc816cf67e6674fcf18041630b5 (patch)
treeaea05f924f38dc3a0336f6388b78d47b35ea5e87 /src/core
parent77b6ff6328120de950fd5d7802819882455a4da1 (diff)
downloadgnunet-f23af8a34c2abcc816cf67e6674fcf18041630b5.tar.gz
gnunet-f23af8a34c2abcc816cf67e6674fcf18041630b5.zip
implementing #1785
Diffstat (limited to 'src/core')
-rw-r--r--src/core/gnunet-service-core_neighbours.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/gnunet-service-core_neighbours.c b/src/core/gnunet-service-core_neighbours.c
index 9b33a286e..d7ce91a88 100644
--- a/src/core/gnunet-service-core_neighbours.c
+++ b/src/core/gnunet-service-core_neighbours.c
@@ -307,14 +307,14 @@ process_queue (struct Neighbour *n)
307 * 307 *
308 * @param cls closure 308 * @param cls closure
309 * @param peer the peer that connected 309 * @param peer the peer that connected
310 * @param ats performance data 310 * @param atsi performance data
311 * @param ats_count number of entries in ats (excluding 0-termination) 311 * @param atsi_count number of entries in ats (excluding 0-termination)
312 */ 312 */
313static void 313static void
314handle_transport_notify_connect (void *cls, 314handle_transport_notify_connect (void *cls,
315 const struct GNUNET_PeerIdentity *peer, 315 const struct GNUNET_PeerIdentity *peer,
316 const struct GNUNET_ATS_Information 316 const struct GNUNET_ATS_Information
317 *ats, uint32_t ats_count) 317 *atsi, uint32_t atsi_count)
318{ 318{
319 struct Neighbour *n; 319 struct Neighbour *n;
320 320
@@ -381,14 +381,14 @@ handle_transport_notify_disconnect (void *cls,
381 * @param cls closure 381 * @param cls closure
382 * @param peer (claimed) identity of the other peer 382 * @param peer (claimed) identity of the other peer
383 * @param message the message 383 * @param message the message
384 * @param ats performance data 384 * @param atsi performance data
385 * @param ats_count number of entries in ats (excluding 0-termination) 385 * @param atsi_count number of entries in ats (excluding 0-termination)
386 */ 386 */
387static void 387static void
388handle_transport_receive (void *cls, const struct GNUNET_PeerIdentity *peer, 388handle_transport_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
389 const struct GNUNET_MessageHeader *message, 389 const struct GNUNET_MessageHeader *message,
390 const struct GNUNET_ATS_Information *ats, 390 const struct GNUNET_ATS_Information *atsi,
391 uint32_t ats_count) 391 uint32_t atsi_count)
392{ 392{
393 struct Neighbour *n; 393 struct Neighbour *n;
394 uint16_t type; 394 uint16_t type;
@@ -424,8 +424,8 @@ handle_transport_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
424 break; 424 break;
425 case GNUNET_MESSAGE_TYPE_CORE_ENCRYPTED_MESSAGE: 425 case GNUNET_MESSAGE_TYPE_CORE_ENCRYPTED_MESSAGE:
426 GSC_KX_handle_encrypted_message (n->kxinfo, 426 GSC_KX_handle_encrypted_message (n->kxinfo,
427 message, ats, 427 message, atsi,
428 ats_count); 428 atsi_count);
429 break; 429 break;
430 default: 430 default:
431 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 431 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,