[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26238 - gnunet/src/dht
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26238 - gnunet/src/dht |
Date: |
Fri, 1 Mar 2013 03:32:54 +0100 |
Author: bartpolot
Date: 2013-03-01 03:32:54 +0100 (Fri, 01 Mar 2013)
New Revision: 26238
Modified:
gnunet/src/dht/gnunet-service-dht_neighbours.c
Log:
- fix in monitoring, style
Modified: gnunet/src/dht/gnunet-service-dht_neighbours.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht_neighbours.c 2013-03-01 02:20:04 UTC
(rev 26237)
+++ gnunet/src/dht/gnunet-service-dht_neighbours.c 2013-03-01 02:32:54 UTC
(rev 26238)
@@ -1983,9 +1983,8 @@
if (NULL != GDS_transport_handle)
{
GNUNET_TRANSPORT_offer_hello (GDS_transport_handle, h, NULL, NULL);
- if (GNUNET_YES !=
- disable_try_connect)
- GNUNET_TRANSPORT_try_connect (GDS_transport_handle, &pid, NULL,
NULL); /*FIXME TRY_CONNECT change */
+ if (GNUNET_YES != disable_try_connect)
+ GNUNET_TRANSPORT_try_connect (GDS_transport_handle, &pid, NULL,
NULL); /*FIXME TRY_CONNECT change */
}
}
}
@@ -2017,6 +2016,14 @@
GDS_CLIENTS_handle_reply (GNUNET_TIME_absolute_ntoh (prm->expiration_time),
&prm->key, get_path_length, xget_path,
put_path_length, put_path, type, data_size,
data);
+ GDS_CLIENTS_process_get_resp (type,
+ xget_path, get_path_length,
+ put_path, put_path_length,
+ GNUNET_TIME_absolute_ntoh (
+ prm->expiration_time),
+ &prm->key,
+ data,
+ data_size);
/* forward to other peers */
GDS_ROUTING_process (type, GNUNET_TIME_absolute_ntoh
(prm->expiration_time),
@@ -2024,17 +2031,6 @@
xget_path, data, data_size);
}
- GDS_CLIENTS_process_get_resp (type,
- get_path,
- get_path_length,
- put_path,
- put_path_length,
- GNUNET_TIME_absolute_ntoh (
- prm->expiration_time),
- &prm->key,
- data,
- data_size);
-
return GNUNET_YES;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26238 - gnunet/src/dht,
gnunet <=