gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r10437 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r10437 - gnunet/src/testing
Date: Wed, 24 Feb 2010 12:55:26 +0100

Author: nevans
Date: 2010-02-24 12:55:26 +0100 (Wed, 24 Feb 2010)
New Revision: 10437

Modified:
   gnunet/src/testing/testing.c
   gnunet/src/testing/testing_group.c
Log:
coverity, doxygen cleanup stuff

Modified: gnunet/src/testing/testing.c
===================================================================
--- gnunet/src/testing/testing.c        2010-02-24 11:54:38 UTC (rev 10436)
+++ gnunet/src/testing/testing.c        2010-02-24 11:55:26 UTC (rev 10437)
@@ -789,9 +789,10 @@
  * Success, connection is up.  Signal client our success.
  *
  * @param cls our "struct ConnectContext"
- * @param size number of bytes available in buf
- * @param buf where to copy the message, NULL on error
- * @return number of bytes copied to buf
+ * @param peer identity of the peer that has connected
+ * @param latency the round trip latency of the connection to this peer
+ * @param distance distance the transport level distance to this peer
+ *
  */
 static void
 connect_notify (void *cls, const struct GNUNET_PeerIdentity * peer, struct 
GNUNET_TIME_Relative latency,

Modified: gnunet/src/testing/testing_group.c
===================================================================
--- gnunet/src/testing/testing_group.c  2010-02-24 11:54:38 UTC (rev 10436)
+++ gnunet/src/testing/testing_group.c  2010-02-24 11:55:26 UTC (rev 10437)
@@ -785,7 +785,9 @@
         {
           GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                     _("No SERVICEHOME specified in peer configuration, can't 
copy friends file!\n"));
-          unlink(mytemp);
+          if (unlink(mytemp) != 0)
+            GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+                                _("Couldn't remove friends file %s!\n"), 
mytemp);
          GNUNET_free (mytemp);
           break;
         }





reply via email to

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