From e59b88ebd027af3afdb66d19e92b38f540a59c0a Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Wed, 24 Feb 2010 11:55:26 +0000 Subject: [PATCH] coverity, doxygen cleanup stuff --- src/testing/testing.c | 7 ++++--- src/testing/testing_group.c | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/testing/testing.c b/src/testing/testing.c index be3e96509..1e9f6cf5e 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c @@ -789,9 +789,10 @@ notify_connect_result (void *cls, * 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, diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c index d20a6412f..e27a4120d 100644 --- a/src/testing/testing_group.c +++ b/src/testing/testing_group.c @@ -785,7 +785,9 @@ create_and_copy_friend_files (struct GNUNET_TESTING_PeerGroup *pg) { 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; } -- 2.25.1