diff options
-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)); |