diff options
Diffstat (limited to 'src/transport/gnunet-transport.c')
-rw-r--r-- | src/transport/gnunet-transport.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c index d606f05b9..929963127 100644 --- a/src/transport/gnunet-transport.c +++ b/src/transport/gnunet-transport.c | |||
@@ -519,8 +519,7 @@ transmit_data (void *cls, size_t size, void *buf) | |||
519 | * @param ats_count number of entries in ats (excluding 0-termination) | 519 | * @param ats_count number of entries in ats (excluding 0-termination) |
520 | */ | 520 | */ |
521 | static void | 521 | static void |
522 | notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, | 522 | notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer) |
523 | const struct GNUNET_ATS_Information *ats, uint32_t ats_count) | ||
524 | { | 523 | { |
525 | if (0 != memcmp (&pid, peer, sizeof (struct GNUNET_PeerIdentity))) | 524 | if (0 != memcmp (&pid, peer, sizeof (struct GNUNET_PeerIdentity))) |
526 | return; | 525 | return; |
@@ -598,12 +597,9 @@ notify_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
598 | * | 597 | * |
599 | * @param cls closure | 598 | * @param cls closure |
600 | * @param peer the peer that connected | 599 | * @param peer the peer that connected |
601 | * @param ats performance data | ||
602 | * @param ats_count number of entries in ats (excluding 0-termination) | ||
603 | */ | 600 | */ |
604 | static void | 601 | static void |
605 | monitor_notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, | 602 | monitor_notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer) |
606 | const struct GNUNET_ATS_Information *ats, uint32_t ats_count) | ||
607 | { | 603 | { |
608 | monitor_connect_counter ++; | 604 | monitor_connect_counter ++; |
609 | struct GNUNET_TIME_Absolute now = GNUNET_TIME_absolute_get(); | 605 | struct GNUNET_TIME_Absolute now = GNUNET_TIME_absolute_get(); |