From b8dafe3d4fcc0e954d5f77566e2e479015e0eef7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 16 Oct 2015 22:52:48 +0000 Subject: -use INFO, not WARN --- src/peerinfo/gnunet-service-peerinfo.c | 7 +++++-- src/transport/gnunet-service-transport_validation.c | 2 +- 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)); -- cgit v1.2.3