diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-27 07:48:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-27 07:48:14 +0000 |
commit | 8d7a8374f8d3fbd0c58eeb9ef87d5bf328cba751 (patch) | |
tree | 93e44cd35294c9e898d582fd4e3c3614195c09a3 /src/dht | |
parent | 2af64898902ea5def231dc0ba17fcd197dfb0c66 (diff) |
-fix arg order
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/gnunet-service-dht_clients.c | 6 | ||||
-rw-r--r-- | src/dht/gnunet-service-wdht_clients.c | 3 | ||||
-rw-r--r-- | src/dht/gnunet-service-xdht_clients.c | 3 |
3 files changed, 8 insertions, 4 deletions
diff --git a/src/dht/gnunet-service-dht_clients.c b/src/dht/gnunet-service-dht_clients.c index 942bf57854..305826aec1 100644 --- a/src/dht/gnunet-service-dht_clients.c +++ b/src/dht/gnunet-service-dht_clients.c @@ -782,7 +782,8 @@ remove_by_unique_id (void *cls, const struct GNUNET_HashCode * key, void *value) * */ static void -handle_dht_local_get_stop (void *cls, struct GNUNET_SERVER_Client *client, +handle_dht_local_get_stop (void *cls, + struct GNUNET_SERVER_Client *client, const struct GNUNET_MessageHeader *message) { const struct GNUNET_DHT_ClientGetStopMessage *dht_stop_msg = @@ -795,7 +796,8 @@ handle_dht_local_get_stop (void *cls, struct GNUNET_SERVER_Client *client, GNUNET_NO); LOG (GNUNET_ERROR_TYPE_DEBUG, "Received GET STOP request for %s from local client %p\n", - client, GNUNET_h2s (&dht_stop_msg->key)); + GNUNET_h2s (&dht_stop_msg->key), + client); ctx.client = find_active_client (client); ctx.unique_id = dht_stop_msg->unique_id; GNUNET_CONTAINER_multihashmap_get_multiple (forward_map, &dht_stop_msg->key, diff --git a/src/dht/gnunet-service-wdht_clients.c b/src/dht/gnunet-service-wdht_clients.c index 3d2eba460d..6d5c477adf 100644 --- a/src/dht/gnunet-service-wdht_clients.c +++ b/src/dht/gnunet-service-wdht_clients.c @@ -1214,7 +1214,8 @@ handle_dht_local_get_stop (void *cls, GNUNET_NO); LOG (GNUNET_ERROR_TYPE_DEBUG, "Received GET STOP request for %s from local client %p\n", - client, GNUNET_h2s (&dht_stop_msg->key)); + GNUNET_h2s (&dht_stop_msg->key), + client); ctx.client = find_active_client (client); ctx.unique_id = dht_stop_msg->unique_id; GNUNET_CONTAINER_multihashmap_get_multiple (forward_map, &dht_stop_msg->key, diff --git a/src/dht/gnunet-service-xdht_clients.c b/src/dht/gnunet-service-xdht_clients.c index afd14c78d9..2de3576b77 100644 --- a/src/dht/gnunet-service-xdht_clients.c +++ b/src/dht/gnunet-service-xdht_clients.c @@ -1202,7 +1202,8 @@ handle_dht_local_get_stop (void *cls, struct GNUNET_SERVER_Client *client, GNUNET_NO); LOG (GNUNET_ERROR_TYPE_DEBUG, "Received GET STOP request for %s from local client %p\n", - client, GNUNET_h2s (&dht_stop_msg->key)); + GNUNET_h2s (&dht_stop_msg->key), + client); ctx.client = find_active_client (client); ctx.unique_id = dht_stop_msg->unique_id; GNUNET_CONTAINER_multihashmap_get_multiple (forward_map, &dht_stop_msg->key, |