gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r35296 - gnunet/src/peerinfo


From: gnunet
Subject: [GNUnet-SVN] r35296 - gnunet/src/peerinfo
Date: Sun, 22 Feb 2015 23:08:35 +0100

Author: grothoff
Date: 2015-02-22 23:08:35 +0100 (Sun, 22 Feb 2015)
New Revision: 35296

Modified:
   gnunet/src/peerinfo/peerinfo_api.c
Log:
-stylistic fixes

Modified: gnunet/src/peerinfo/peerinfo_api.c
===================================================================
--- gnunet/src/peerinfo/peerinfo_api.c  2015-02-22 18:47:59 UTC (rev 35295)
+++ gnunet/src/peerinfo/peerinfo_api.c  2015-02-22 22:08:35 UTC (rev 35296)
@@ -59,7 +59,7 @@
   GNUNET_PEERINFO_Continuation cont;
 
   /**
-   * Closure for 'cont'.
+   * Closure for @e cont.
    */
   void *cont_cls;
 
@@ -110,7 +110,7 @@
   /**
    * Task responsible for timeout.
    */
-  struct GNUNET_SCHEDULER_Task * timeout_task;
+  struct GNUNET_SCHEDULER_Task *timeout_task;
 
   /**
    * Timeout for the operation.
@@ -179,7 +179,7 @@
   /**
    * ID for a reconnect task.
    */
-  struct GNUNET_SCHEDULER_Task * r_task;
+  struct GNUNET_SCHEDULER_Task *r_task;
 
   /**
    * Are we now receiving?
@@ -430,8 +430,8 @@
  * @return handle to cancel add operation; all pending
  *         'add' operations will be cancelled automatically
  *        on disconnect, so it is not necessary to keep this
- *        handle (unless 'cont' is NULL and at some point
- *        calling 'cont' must be prevented)
+ *        handle (unless @a cont is NULL and at some point
+ *        calling @a cont must be prevented)
  */
 struct GNUNET_PEERINFO_AddContext *
 GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h,
@@ -445,10 +445,9 @@
 
   GNUNET_assert (GNUNET_OK == GNUNET_HELLO_get_id (hello, &peer));
   LOG (GNUNET_ERROR_TYPE_DEBUG,
-       "Adding peer `%s' to PEERINFO database (%u bytes of `%s')\n",
+       "Adding peer `%s' to PEERINFO database (%u bytes of HELLO)\n",
        GNUNET_i2s (&peer),
-       hs,
-       "HELLO");
+       hs);
   ac = GNUNET_malloc (sizeof (struct GNUNET_PEERINFO_AddContext) + hs);
   ac->h = h;
   ac->size = hs;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]