aboutsummaryrefslogtreecommitdiff
path: root/src/consensus/consensus_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/consensus/consensus_api.c')
-rw-r--r--src/consensus/consensus_api.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/consensus/consensus_api.c b/src/consensus/consensus_api.c
index b2b3694d6..d8e65c52f 100644
--- a/src/consensus/consensus_api.c
+++ b/src/consensus/consensus_api.c
@@ -20,7 +20,7 @@
20 20
21/** 21/**
22 * @file consensus/consensus_api.c 22 * @file consensus/consensus_api.c
23 * @brief 23 * @brief
24 * @author Florian Dold 24 * @author Florian Dold
25 */ 25 */
26#include "platform.h" 26#include "platform.h"
@@ -103,7 +103,7 @@ struct InsertDoneInfo
103 103
104/** 104/**
105 * Called when the server has sent is a new element 105 * Called when the server has sent is a new element
106 * 106 *
107 * @param cls consensus handle 107 * @param cls consensus handle
108 * @param mh element message 108 * @param mh element message
109 */ 109 */
@@ -129,7 +129,7 @@ handle_new_element (void *cls,
129/** 129/**
130 * Called when the server has announced 130 * Called when the server has announced
131 * that the conclusion is over. 131 * that the conclusion is over.
132 * 132 *
133 * @param cls consensus handle 133 * @param cls consensus handle
134 * @param msg conclude done message 134 * @param msg conclude done message
135 */ 135 */
@@ -220,7 +220,7 @@ idc_adapter (void *cls)
220 * 220 *
221 * @param consensus handle for the consensus session 221 * @param consensus handle for the consensus session
222 * @param element the element to be inserted 222 * @param element the element to be inserted
223 * @param idc function called when we are done with this element and it 223 * @param idc function called when we are done with this element and it
224 * is thus allowed to call GNUNET_CONSENSUS_insert again 224 * is thus allowed to call GNUNET_CONSENSUS_insert again
225 * @param idc_cls closure for 'idc' 225 * @param idc_cls closure for 'idc'
226 */ 226 */
@@ -240,7 +240,7 @@ GNUNET_CONSENSUS_insert (struct GNUNET_CONSENSUS_Handle *consensus,
240 GNUNET_MESSAGE_TYPE_CONSENSUS_CLIENT_INSERT); 240 GNUNET_MESSAGE_TYPE_CONSENSUS_CLIENT_INSERT);
241 241
242 memcpy (&element_msg[1], element->data, element->size); 242 memcpy (&element_msg[1], element->data, element->size);
243 243
244 if (NULL != idc) 244 if (NULL != idc)
245 { 245 {
246 i = GNUNET_new (struct InsertDoneInfo); 246 i = GNUNET_new (struct InsertDoneInfo);