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/peerinfo/gnunet-service-peerinfo.c | |
parent | 488a5a18bc3f677666e39d3b99d865e710b534ae (diff) | |
download | gnunet-b8dafe3d4fcc0e954d5f77566e2e479015e0eef7.tar.gz gnunet-b8dafe3d4fcc0e954d5f77566e2e479015e0eef7.zip |
-use INFO, not WARN
Diffstat (limited to 'src/peerinfo/gnunet-service-peerinfo.c')
-rw-r--r-- | src/peerinfo/gnunet-service-peerinfo.c | 7 |
1 files changed, 5 insertions, 2 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); |