[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26566 - gnunet/src/dv
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26566 - gnunet/src/dv |
Date: |
Fri, 22 Mar 2013 10:09:47 +0100 |
Author: wachs
Date: 2013-03-22 10:09:47 +0100 (Fri, 22 Mar 2013)
New Revision: 26566
Modified:
gnunet/src/dv/gnunet-service-dv.c
Log:
fix
Modified: gnunet/src/dv/gnunet-service-dv.c
===================================================================
--- gnunet/src/dv/gnunet-service-dv.c 2013-03-22 08:44:33 UTC (rev 26565)
+++ gnunet/src/dv/gnunet-service-dv.c 2013-03-22 09:09:47 UTC (rev 26566)
@@ -716,9 +716,7 @@
* @param atsi_count number of entries in atsi
*/
static void
-handle_core_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
- const struct GNUNET_ATS_Information *atsi,
- unsigned int atsi_count)
+handle_core_connect (void *cls, const struct GNUNET_PeerIdentity *peer)
{
struct DirectNeighbor *neighbor;
struct Route *route;
@@ -727,7 +725,8 @@
/* Check for connect to self message */
if (0 == memcmp (&my_identity, peer, sizeof (struct GNUNET_PeerIdentity)))
return;
- distance = get_atsi_distance (atsi, atsi_count);
+ fprintf (stderr, "FIX ATS DATA: %s:%u!\n", __FILE__, __LINE__);
+ distance = get_atsi_distance (NULL, 0);
neighbor = GNUNET_CONTAINER_multihashmap_get (direct_neighbors,
&peer->hashPubKey);
if (NULL != neighbor)
@@ -1169,9 +1168,7 @@
*/
static int
handle_dv_route_message (void *cls, const struct GNUNET_PeerIdentity *peer,
- const struct GNUNET_MessageHeader *message,
- const struct GNUNET_ATS_Information *atsi,
- unsigned int atsi_count)
+ const struct GNUNET_MessageHeader *message)
{
const struct RouteMessage *rm;
const struct GNUNET_MessageHeader *payload;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26566 - gnunet/src/dv,
gnunet <=