summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-16 22:52:48 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-16 22:52:48 +0000
commitb8dafe3d4fcc0e954d5f77566e2e479015e0eef7 (patch)
treeb4a59d528ef55b3c404c7d4275af551841af5787
parent488a5a18bc3f677666e39d3b99d865e710b534ae (diff)
-use INFO, not WARN
-rw-r--r--src/peerinfo/gnunet-service-peerinfo.c7
-rw-r--r--src/transport/gnunet-service-transport_validation.c2
2 files changed, 6 insertions, 3 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c
index ab0aad9d5..a6587e63c 100644
--- a/src/peerinfo/gnunet-service-peerinfo.c
+++ b/src/peerinfo/gnunet-service-peerinfo.c
@@ -853,13 +853,16 @@ update_hello (const struct GNUNET_PeerIdentity *peer,
if (GNUNET_YES == store_hello)
{
- memcpy (buffer, host->hello,
+ memcpy (buffer,
+ host->hello,
GNUNET_HELLO_size (host->hello));
pos += GNUNET_HELLO_size (host->hello);
}
if (GNUNET_YES == store_friend_hello)
{
- memcpy (&buffer[pos], host->friend_only_hello, GNUNET_HELLO_size (host->friend_only_hello));
+ memcpy (&buffer[pos],
+ host->friend_only_hello,
+ GNUNET_HELLO_size (host->friend_only_hello));
pos += GNUNET_HELLO_size (host->friend_only_hello);
}
GNUNET_assert (pos == size);
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c
index c7d760199..89e901561 100644
--- a/src/transport/gnunet-service-transport_validation.c
+++ b/src/transport/gnunet-service-transport_validation.c
@@ -606,7 +606,7 @@ transmit_ping_if_allowed (void *cls,
NULL, NULL);
if (-1 == ret)
{
- GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Failed to send PING to `%s' at `%s'\n",
GNUNET_i2s (pid),
GST_plugins_a2s (ve->address));