aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-18 14:44:37 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-18 14:44:37 +0200
commit48fdab91834c4649048d371d6b454e9b03b9fa50 (patch)
treed06e72b1a8c67644751a736d28c516644bf2f521 /src
parent175844b60dfb36d66d38b5d7ab413420309d191f (diff)
downloadgnunet-48fdab91834c4649048d371d6b454e9b03b9fa50.tar.gz
gnunet-48fdab91834c4649048d371d6b454e9b03b9fa50.zip
-indentation
Diffstat (limited to 'src')
-rw-r--r--src/setu/gnunet-service-setu.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index d889c1889..166522afa 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -561,7 +561,7 @@ op_get_element (struct Operation *op,
561 ibf_key = get_ibf_key (element_hash); 561 ibf_key = get_ibf_key (element_hash);
562 ret = GNUNET_CONTAINER_multihashmap32_get_multiple (op->state->key_to_element, 562 ret = GNUNET_CONTAINER_multihashmap32_get_multiple (op->state->key_to_element,
563 (uint32_t) ibf_key.key_val, 563 (uint32_t) ibf_key.key_val,
564 op_get_element_iterator, 564 &op_get_element_iterator,
565 &ctx); 565 &ctx);
566 566
567 /* was the iteration aborted because we found the element? */ 567 /* was the iteration aborted because we found the element? */
@@ -1649,7 +1649,8 @@ handle_union_p2p_elements (void *cls,
1649 1649
1650 op->state->received_total++; 1650 op->state->received_total++;
1651 1651
1652 ke = op_get_element (op, &ee->element_hash); 1652 ke = op_get_element (op,
1653 &ee->element_hash);
1653 if (NULL != ke) 1654 if (NULL != ke)
1654 { 1655 {
1655 /* Got repeated element. Should not happen since 1656 /* Got repeated element. Should not happen since
@@ -1745,7 +1746,8 @@ handle_union_p2p_full_element (void *cls,
1745 1746
1746 op->state->received_total++; 1747 op->state->received_total++;
1747 1748
1748 ke = op_get_element (op, &ee->element_hash); 1749 ke = op_get_element (op,
1750 &ee->element_hash);
1749 if (NULL != ke) 1751 if (NULL != ke)
1750 { 1752 {
1751 /* Got repeated element. Should not happen since 1753 /* Got repeated element. Should not happen since
@@ -1818,8 +1820,7 @@ check_union_p2p_inquiry (void *cls,
1818 1820
1819 1821
1820/** 1822/**
1821 * Send offers (for GNUNET_Hash-es) in response 1823 * Send offers (for GNUNET_Hash-es) in response to inquiries (for IBF_Key-s).
1822 * to inquiries (for IBF_Key-s).
1823 * 1824 *
1824 * @param cls the union operation 1825 * @param cls the union operation
1825 * @param msg the message 1826 * @param msg the message
@@ -1853,8 +1854,8 @@ handle_union_p2p_inquiry (void *cls,
1853 1854
1854 1855
1855/** 1856/**
1856 * Iterator over hash map entries, called to 1857 * Iterator over hash map entries, called to destroy the linked list of
1857 * destroy the linked list of colliding ibf key entries. 1858 * colliding ibf key entries.
1858 * 1859 *
1859 * @param cls closure 1860 * @param cls closure
1860 * @param key current key code 1861 * @param key current key code