aboutsummaryrefslogtreecommitdiff
path: root/src/dht
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-11 18:40:02 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-11 18:40:02 +0000
commit360b57d787c60c436ca7e103c18f9633e5cbe4c6 (patch)
tree580c6c0344d0e3387fbe4828184526775f196d61 /src/dht
parent6b1872cb726e672b0e625c46075dab8ed41034d8 (diff)
downloadgnunet-360b57d787c60c436ca7e103c18f9633e5cbe4c6.tar.gz
gnunet-360b57d787c60c436ca7e103c18f9633e5cbe4c6.zip
-fix bad indent
Diffstat (limited to 'src/dht')
-rw-r--r--src/dht/gnunet-service-dht_clients.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/dht/gnunet-service-dht_clients.c b/src/dht/gnunet-service-dht_clients.c
index 38dbb64e5..9dbeef6bd 100644
--- a/src/dht/gnunet-service-dht_clients.c
+++ b/src/dht/gnunet-service-dht_clients.c
@@ -1417,7 +1417,7 @@ GDS_CLIENTS_process_put (uint32_t options,
1417 unsigned int path_length, 1417 unsigned int path_length,
1418 const struct GNUNET_PeerIdentity *path, 1418 const struct GNUNET_PeerIdentity *path,
1419 struct GNUNET_TIME_Absolute exp, 1419 struct GNUNET_TIME_Absolute exp,
1420 const struct GNUNET_HashCode * key, 1420 const struct GNUNET_HashCode *key,
1421 const void *data, 1421 const void *data,
1422 size_t size) 1422 size_t size)
1423{ 1423{
@@ -1465,8 +1465,8 @@ GDS_CLIENTS_process_put (uint32_t options,
1465 if (path_length > 0) 1465 if (path_length > 0)
1466 { 1466 {
1467 GNUNET_memcpy (msg_path, 1467 GNUNET_memcpy (msg_path,
1468 path, 1468 path,
1469 path_length * sizeof (struct GNUNET_PeerIdentity)); 1469 path_length * sizeof (struct GNUNET_PeerIdentity));
1470 } 1470 }
1471 mmsg->expiration_time = GNUNET_TIME_absolute_hton(exp); 1471 mmsg->expiration_time = GNUNET_TIME_absolute_hton(exp);
1472 GNUNET_memcpy (&mmsg->key, key, sizeof (struct GNUNET_HashCode)); 1472 GNUNET_memcpy (&mmsg->key, key, sizeof (struct GNUNET_HashCode));
@@ -1530,14 +1530,15 @@ GDS_CLIENTS_stop ()
1530 } 1530 }
1531} 1531}
1532 1532
1533
1533/** 1534/**
1534 * Shutdown client subsystem. 1535 * Shutdown client subsystem.
1535 */ 1536 */
1536void 1537void
1537GDS_CLIENTS_done () 1538GDS_CLIENTS_done ()
1538{ 1539{
1539 GNUNET_assert (client_head == NULL); 1540 GNUNET_assert (NULL == client_head);
1540 GNUNET_assert (client_tail == NULL); 1541 GNUNET_assert (NULL == client_tail);
1541 if (NULL != retry_heap) 1542 if (NULL != retry_heap)
1542 { 1543 {
1543 GNUNET_assert (0 == GNUNET_CONTAINER_heap_get_size (retry_heap)); 1544 GNUNET_assert (0 == GNUNET_CONTAINER_heap_get_size (retry_heap));