aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/peerinfo/peerinfo_api.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index 229f626b4..9ec193571 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -59,7 +59,7 @@ struct GNUNET_PEERINFO_AddContext
59 GNUNET_PEERINFO_Continuation cont; 59 GNUNET_PEERINFO_Continuation cont;
60 60
61 /** 61 /**
62 * Closure for 'cont'. 62 * Closure for @e cont.
63 */ 63 */
64 void *cont_cls; 64 void *cont_cls;
65 65
@@ -110,7 +110,7 @@ struct GNUNET_PEERINFO_IteratorContext
110 /** 110 /**
111 * Task responsible for timeout. 111 * Task responsible for timeout.
112 */ 112 */
113 struct GNUNET_SCHEDULER_Task * timeout_task; 113 struct GNUNET_SCHEDULER_Task *timeout_task;
114 114
115 /** 115 /**
116 * Timeout for the operation. 116 * Timeout for the operation.
@@ -179,7 +179,7 @@ struct GNUNET_PEERINFO_Handle
179 /** 179 /**
180 * ID for a reconnect task. 180 * ID for a reconnect task.
181 */ 181 */
182 struct GNUNET_SCHEDULER_Task * r_task; 182 struct GNUNET_SCHEDULER_Task *r_task;
183 183
184 /** 184 /**
185 * Are we now receiving? 185 * Are we now receiving?
@@ -430,8 +430,8 @@ trigger_transmit (struct GNUNET_PEERINFO_Handle *h)
430 * @return handle to cancel add operation; all pending 430 * @return handle to cancel add operation; all pending
431 * 'add' operations will be cancelled automatically 431 * 'add' operations will be cancelled automatically
432 * on disconnect, so it is not necessary to keep this 432 * on disconnect, so it is not necessary to keep this
433 * handle (unless 'cont' is NULL and at some point 433 * handle (unless @a cont is NULL and at some point
434 * calling 'cont' must be prevented) 434 * calling @a cont must be prevented)
435 */ 435 */
436struct GNUNET_PEERINFO_AddContext * 436struct GNUNET_PEERINFO_AddContext *
437GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h, 437GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h,
@@ -445,10 +445,9 @@ GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h,
445 445
446 GNUNET_assert (GNUNET_OK == GNUNET_HELLO_get_id (hello, &peer)); 446 GNUNET_assert (GNUNET_OK == GNUNET_HELLO_get_id (hello, &peer));
447 LOG (GNUNET_ERROR_TYPE_DEBUG, 447 LOG (GNUNET_ERROR_TYPE_DEBUG,
448 "Adding peer `%s' to PEERINFO database (%u bytes of `%s')\n", 448 "Adding peer `%s' to PEERINFO database (%u bytes of HELLO)\n",
449 GNUNET_i2s (&peer), 449 GNUNET_i2s (&peer),
450 hs, 450 hs);
451 "HELLO");
452 ac = GNUNET_malloc (sizeof (struct GNUNET_PEERINFO_AddContext) + hs); 451 ac = GNUNET_malloc (sizeof (struct GNUNET_PEERINFO_AddContext) + hs);
453 ac->h = h; 452 ac->h = h;
454 ac->size = hs; 453 ac->size = hs;