X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpeerinfo%2Fpeerinfo_api_notify.c;h=194664d6291c21006ac49c16d77d70ffe7d3f8cc;hb=ae9a6cf3069a7ec482f2bb940595e24bdc092ca1;hp=4520decfdcabd32fec6116770a266c974399b287;hpb=425e9cdea733ca7be9a901abff7a070c460fa84d;p=oweals%2Fgnunet.git diff --git a/src/peerinfo/peerinfo_api_notify.c b/src/peerinfo/peerinfo_api_notify.c index 4520decfd..194664d62 100644 --- a/src/peerinfo/peerinfo_api_notify.c +++ b/src/peerinfo/peerinfo_api_notify.c @@ -166,6 +166,7 @@ process_notification (void *cls, const struct GNUNET_MessageHeader *msg) return; } } + LOG (GNUNET_ERROR_TYPE_DEBUG, "Received information about peer `%s' from peerinfo database\n", GNUNET_i2s (&im->peer)); @@ -216,7 +217,7 @@ transmit_notify_request (void *cls, size_t size, void *buf) nm.include_friend_only = htonl (nc->include_friend_only); memcpy (buf, &nm, sizeof (struct NotifyMessage)); receive_notifications (nc); - return sizeof (struct GNUNET_MessageHeader); + return sizeof (struct NotifyMessage); }