diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-16 22:52:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-16 22:52:48 +0000 |
commit | b8dafe3d4fcc0e954d5f77566e2e479015e0eef7 (patch) | |
tree | b4a59d528ef55b3c404c7d4275af551841af5787 /src | |
parent | 488a5a18bc3f677666e39d3b99d865e710b534ae (diff) | |
download | gnunet-b8dafe3d4fcc0e954d5f77566e2e479015e0eef7.tar.gz gnunet-b8dafe3d4fcc0e954d5f77566e2e479015e0eef7.zip |
-use INFO, not WARN
Diffstat (limited to 'src')
-rw-r--r-- | src/peerinfo/gnunet-service-peerinfo.c | 7 | ||||
-rw-r--r-- | 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, | |||
853 | 853 | ||
854 | if (GNUNET_YES == store_hello) | 854 | if (GNUNET_YES == store_hello) |
855 | { | 855 | { |
856 | memcpy (buffer, host->hello, | 856 | memcpy (buffer, |
857 | host->hello, | ||
857 | GNUNET_HELLO_size (host->hello)); | 858 | GNUNET_HELLO_size (host->hello)); |
858 | pos += GNUNET_HELLO_size (host->hello); | 859 | pos += GNUNET_HELLO_size (host->hello); |
859 | } | 860 | } |
860 | if (GNUNET_YES == store_friend_hello) | 861 | if (GNUNET_YES == store_friend_hello) |
861 | { | 862 | { |
862 | memcpy (&buffer[pos], host->friend_only_hello, GNUNET_HELLO_size (host->friend_only_hello)); | 863 | memcpy (&buffer[pos], |
864 | host->friend_only_hello, | ||
865 | GNUNET_HELLO_size (host->friend_only_hello)); | ||
863 | pos += GNUNET_HELLO_size (host->friend_only_hello); | 866 | pos += GNUNET_HELLO_size (host->friend_only_hello); |
864 | } | 867 | } |
865 | GNUNET_assert (pos == size); | 868 | 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, | |||
606 | NULL, NULL); | 606 | NULL, NULL); |
607 | if (-1 == ret) | 607 | if (-1 == ret) |
608 | { | 608 | { |
609 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 609 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
610 | "Failed to send PING to `%s' at `%s'\n", | 610 | "Failed to send PING to `%s' at `%s'\n", |
611 | GNUNET_i2s (pid), | 611 | GNUNET_i2s (pid), |
612 | GST_plugins_a2s (ve->address)); | 612 | GST_plugins_a2s (ve->address)); |