diff options
| author | nevans <nevans@140774ce-b5e7-0310-ab8b-a85725594a96> | 2010-02-24 11:55:26 +0000 |
|---|---|---|
| committer | nevans <nevans@140774ce-b5e7-0310-ab8b-a85725594a96> | 2010-02-24 11:55:26 +0000 |
| commit | 4ba606007d1199890a34df61ba66af99a04828da (patch) | |
| tree | f6adedddf18591f5451867bed35714ae3467a72d /src/testing | |
| parent | aa3717388141ffe5304d145a7beffe9512b09749 (diff) | |
coverity, doxygen cleanup stuff
git-svn-id: https://gnunet.org/svn/gnunet@10437 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/testing')
| -rw-r--r-- | src/testing/testing.c | 7 | ||||
| -rw-r--r-- | 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 be3e96509e..1e9f6cf5ed 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 d20a6412ff..e27a4120dd 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; } |
