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) | |
download | gnunet-8d7a8374f8d3fbd0c58eeb9ef87d5bf328cba751.tar.gz gnunet-8d7a8374f8d3fbd0c58eeb9ef87d5bf328cba751.zip |
-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 942bf5785..305826aec 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) | |||
782 | * | 782 | * |
783 | */ | 783 | */ |
784 | static void | 784 | static void |
785 | handle_dht_local_get_stop (void *cls, struct GNUNET_SERVER_Client *client, | 785 | handle_dht_local_get_stop (void *cls, |
786 | struct GNUNET_SERVER_Client *client, | ||
786 | const struct GNUNET_MessageHeader *message) | 787 | const struct GNUNET_MessageHeader *message) |
787 | { | 788 | { |
788 | const struct GNUNET_DHT_ClientGetStopMessage *dht_stop_msg = | 789 | const struct GNUNET_DHT_ClientGetStopMessage *dht_stop_msg = |
@@ -795,7 +796,8 @@ handle_dht_local_get_stop (void *cls, struct GNUNET_SERVER_Client *client, | |||
795 | GNUNET_NO); | 796 | GNUNET_NO); |
796 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 797 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
797 | "Received GET STOP request for %s from local client %p\n", | 798 | "Received GET STOP request for %s from local client %p\n", |
798 | client, GNUNET_h2s (&dht_stop_msg->key)); | 799 | GNUNET_h2s (&dht_stop_msg->key), |
800 | client); | ||
799 | ctx.client = find_active_client (client); | 801 | ctx.client = find_active_client (client); |
800 | ctx.unique_id = dht_stop_msg->unique_id; | 802 | ctx.unique_id = dht_stop_msg->unique_id; |
801 | GNUNET_CONTAINER_multihashmap_get_multiple (forward_map, &dht_stop_msg->key, | 803 | 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 3d2eba460..6d5c477ad 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, | |||
1214 | GNUNET_NO); | 1214 | GNUNET_NO); |
1215 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1215 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1216 | "Received GET STOP request for %s from local client %p\n", | 1216 | "Received GET STOP request for %s from local client %p\n", |
1217 | client, GNUNET_h2s (&dht_stop_msg->key)); | 1217 | GNUNET_h2s (&dht_stop_msg->key), |
1218 | client); | ||
1218 | ctx.client = find_active_client (client); | 1219 | ctx.client = find_active_client (client); |
1219 | ctx.unique_id = dht_stop_msg->unique_id; | 1220 | ctx.unique_id = dht_stop_msg->unique_id; |
1220 | GNUNET_CONTAINER_multihashmap_get_multiple (forward_map, &dht_stop_msg->key, | 1221 | 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 afd14c78d..2de3576b7 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, | |||
1202 | GNUNET_NO); | 1202 | GNUNET_NO); |
1203 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1203 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1204 | "Received GET STOP request for %s from local client %p\n", | 1204 | "Received GET STOP request for %s from local client %p\n", |
1205 | client, GNUNET_h2s (&dht_stop_msg->key)); | 1205 | GNUNET_h2s (&dht_stop_msg->key), |
1206 | client); | ||
1206 | ctx.client = find_active_client (client); | 1207 | ctx.client = find_active_client (client); |
1207 | ctx.unique_id = dht_stop_msg->unique_id; | 1208 | ctx.unique_id = dht_stop_msg->unique_id; |
1208 | GNUNET_CONTAINER_multihashmap_get_multiple (forward_map, &dht_stop_msg->key, | 1209 | GNUNET_CONTAINER_multihashmap_get_multiple (forward_map, &dht_stop_msg->key, |