-fix arg order
authorChristian Grothoff <christian@grothoff.org>
Mon, 27 Jun 2016 07:48:14 +0000 (07:48 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 27 Jun 2016 07:48:14 +0000 (07:48 +0000)
src/dht/gnunet-service-dht_clients.c
src/dht/gnunet-service-wdht_clients.c
src/dht/gnunet-service-xdht_clients.c

index 942bf578549920babee3b554806aa45ab32834b8..305826aec1ab5f07b0c2d80111f0173081b6b6c6 100644 (file)
@@ -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,
index 3d2eba460d1a1258a20cd0750f670df1163bf8af..6d5c477adfc21f3b2ec26336f30b897b5dadad89 100644 (file)
@@ -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,
index afd14c78d9776c94ae07dd3c91f633ba970f3d5b..2de3576b772c88ed642eeab012615d51793aa6fd 100644 (file)
@@ -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,