[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r34944 - gnunet/src/rps
From: |
gnunet |
Subject: |
[GNUnet-SVN] r34944 - gnunet/src/rps |
Date: |
Mon, 19 Jan 2015 13:55:50 +0100 |
Author: ch3
Date: 2015-01-19 13:55:50 +0100 (Mon, 19 Jan 2015)
New Revision: 34944
Modified:
gnunet/src/rps/gnunet-service-rps_sampler.c
Log:
trying to remove get_peer_task
Modified: gnunet/src/rps/gnunet-service-rps_sampler.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps_sampler.c 2015-01-19 01:08:03 UTC (rev
34943)
+++ gnunet/src/rps/gnunet-service-rps_sampler.c 2015-01-19 12:55:50 UTC (rev
34944)
@@ -710,7 +710,7 @@
}
GNUNET_CRYPTO_hash (&gpc->get_peer_task, sizeof (struct
GNUNET_SCHEDULER_Task *), hash);
- if (GNUNET_NO == GNUNET_CONTAINER_multihashmap_remove (get_peer_tasks, hash,
gpc->get_peer_task))
+ if (GNUNET_NO == GNUNET_CONTAINER_multihashmap_remove (get_peer_tasks, hash,
&gpc->get_peer_task))
LOG (GNUNET_ERROR_TYPE_WARNING, "SAMPLER: Key to remove is not in the
hashmap\n");
GNUNET_free (gpc->get_peer_task);
@@ -772,7 +772,7 @@
// maybe add a little delay
gpc->get_peer_task = GNUNET_SCHEDULER_add_now
(&RPS_sampler_get_rand_peer, gpc);
GNUNET_CRYPTO_hash (&gpc->get_peer_task, sizeof (struct
GNUNET_SCHEDULER_Task *), hash);
- (void) GNUNET_CONTAINER_multihashmap_put (get_peer_tasks, hash,
gpc->get_peer_task,
+ (void) GNUNET_CONTAINER_multihashmap_put (get_peer_tasks, hash,
&gpc->get_peer_task,
GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE);
//RPS_sampler_get_rand_peer (RPS_sampler_get_n_rand_peers_ready_cb,
// cb_cls, &peers[i]);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r34944 - gnunet/src/rps,
gnunet <=