diff options
-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 be3e96509..1e9f6cf5e 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -789,9 +789,10 @@ notify_connect_result (void *cls, | |||
789 | * Success, connection is up. Signal client our success. | 789 | * Success, connection is up. Signal client our success. |
790 | * | 790 | * |
791 | * @param cls our "struct ConnectContext" | 791 | * @param cls our "struct ConnectContext" |
792 | * @param size number of bytes available in buf | 792 | * @param peer identity of the peer that has connected |
793 | * @param buf where to copy the message, NULL on error | 793 | * @param latency the round trip latency of the connection to this peer |
794 | * @return number of bytes copied to buf | 794 | * @param distance distance the transport level distance to this peer |
795 | * | ||
795 | */ | 796 | */ |
796 | static void | 797 | static void |
797 | connect_notify (void *cls, const struct GNUNET_PeerIdentity * peer, struct GNUNET_TIME_Relative latency, | 798 | 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) | |||
785 | { | 785 | { |
786 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 786 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
787 | _("No SERVICEHOME specified in peer configuration, can't copy friends file!\n")); | 787 | _("No SERVICEHOME specified in peer configuration, can't copy friends file!\n")); |
788 | unlink(mytemp); | 788 | if (unlink(mytemp) != 0) |
789 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
790 | _("Couldn't remove friends file %s!\n"), mytemp); | ||
789 | GNUNET_free (mytemp); | 791 | GNUNET_free (mytemp); |
790 | break; | 792 | break; |
791 | } | 793 | } |