aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-dht_clients.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-01-02 21:17:12 +0100
committerChristian Grothoff <christian@grothoff.org>2022-01-02 21:17:12 +0100
commit0eca5d452354979721c52ba8e0e583d063b92d3d (patch)
treef2b67c394eeeca6f49194cb14db713cbf8c3b56c /src/dht/gnunet-service-dht_clients.c
parentc891e4d29ca772b6b246b928a1bda8d8c9ef499f (diff)
downloadgnunet-0eca5d452354979721c52ba8e0e583d063b92d3d.tar.gz
gnunet-0eca5d452354979721c52ba8e0e583d063b92d3d.zip
-rename
Diffstat (limited to 'src/dht/gnunet-service-dht_clients.c')
-rw-r--r--src/dht/gnunet-service-dht_clients.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dht/gnunet-service-dht_clients.c b/src/dht/gnunet-service-dht_clients.c
index 8acde2fe7..28be0e9be 100644
--- a/src/dht/gnunet-service-dht_clients.c
+++ b/src/dht/gnunet-service-dht_clients.c
@@ -462,10 +462,9 @@ static enum GNUNET_GenericReturnValue
462check_dht_local_put (void *cls, 462check_dht_local_put (void *cls,
463 const struct GNUNET_DHT_ClientPutMessage *dht_msg) 463 const struct GNUNET_DHT_ClientPutMessage *dht_msg)
464{ 464{
465 uint32_t replication_level; 465 uint32_t replication_level = ntohl (dht_msg->desired_replication_level);
466 466
467 (void) cls; 467 (void) cls;
468 replication_level = ntohl (dht_msg->desired_replication_level);
469 if (replication_level > GNUNET_DHT_MAXIMUM_REPLICATION_LEVEL) 468 if (replication_level > GNUNET_DHT_MAXIMUM_REPLICATION_LEVEL)
470 { 469 {
471 GNUNET_break_op (0); 470 GNUNET_break_op (0);
@@ -1433,6 +1432,9 @@ GDS_CLIENTS_process_put (enum GNUNET_DHT_RouteOption options,
1433} 1432}
1434 1433
1435 1434
1435/* ********************** Initialization logic ***************** */
1436
1437
1436/** 1438/**
1437 * Initialize client subsystem. 1439 * Initialize client subsystem.
1438 * 1440 *