aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/gnunet-scalarproduct.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scalarproduct/gnunet-scalarproduct.c')
-rw-r--r--src/scalarproduct/gnunet-scalarproduct.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/scalarproduct/gnunet-scalarproduct.c b/src/scalarproduct/gnunet-scalarproduct.c
index 5e95742e6..32ed95268 100644
--- a/src/scalarproduct/gnunet-scalarproduct.c
+++ b/src/scalarproduct/gnunet-scalarproduct.c
@@ -77,9 +77,9 @@ static int ret = -1;
77 77
78/** 78/**
79 * Callback called if we are initiating a new computation session 79 * Callback called if we are initiating a new computation session
80 * 80 *
81 * @param cls unused 81 * @param cls unused
82 * @param status if our job was successfully processed 82 * @param status if our job was successfully processed
83 */ 83 */
84static void 84static void
85responder_callback (void *cls, 85responder_callback (void *cls,
@@ -110,14 +110,14 @@ responder_callback (void *cls,
110 110
111/** 111/**
112 * Callback called if we are initiating a new computation session 112 * Callback called if we are initiating a new computation session
113 * 113 *
114 * @param cls unused 114 * @param cls unused
115 * @param key unused 115 * @param key unused
116 * @param peer unused 116 * @param peer unused
117 * @param status if our job was successfully processed 117 * @param status if our job was successfully processed
118 * @param size size of the msg returned 118 * @param size size of the msg returned
119 * @param msg the response we got. 119 * @param msg the response we got.
120 * @param type of the message received 120 * @param type of the message received
121 */ 121 */
122static void 122static void
123requester_callback (void *cls, 123requester_callback (void *cls,
@@ -247,7 +247,7 @@ run (void *cls,
247 LOG (GNUNET_ERROR_TYPE_ERROR, _ ("Need elements to compute the vectorproduct, got none.\n")); 247 LOG (GNUNET_ERROR_TYPE_ERROR, _ ("Need elements to compute the vectorproduct, got none.\n"));
248 return; 248 return;
249 } 249 }
250 250
251 begin = input_elements; 251 begin = input_elements;
252 elements = GNUNET_malloc (sizeof (int32_t) * element_count); 252 elements = GNUNET_malloc (sizeof (int32_t) * element_count);
253 element_count = 0; 253 element_count = 0;
@@ -328,7 +328,7 @@ run (void *cls,
328 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, 328 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
329 &shutdown_task, 329 &shutdown_task,
330 NULL); 330 NULL);
331 331
332 ret = 0; 332 ret = 0;
333} 333}
334 334