gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r26828 - gnunet/src/peerinfo


From: gnunet
Subject: [GNUnet-SVN] r26828 - gnunet/src/peerinfo
Date: Wed, 10 Apr 2013 11:48:55 +0200

Author: wachs
Date: 2013-04-10 11:48:55 +0200 (Wed, 10 Apr 2013)
New Revision: 26828

Modified:
   gnunet/src/peerinfo/gnunet-service-peerinfo.c
Log:
fix


Modified: gnunet/src/peerinfo/gnunet-service-peerinfo.c
===================================================================
--- gnunet/src/peerinfo/gnunet-service-peerinfo.c       2013-04-10 09:42:58 UTC 
(rev 26827)
+++ gnunet/src/peerinfo/gnunet-service-peerinfo.c       2013-04-10 09:48:55 UTC 
(rev 26828)
@@ -274,7 +274,8 @@
 
   msg_pub = make_info_message (entry, GNUNET_NO);
   msg_friend = make_info_message (entry, GNUNET_YES);
-
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Notifying all clients about peer 
`%s'\n",
+               GNUNET_i2s(&entry->identity));
        for (cur = nc_head; NULL != cur; cur = cur->next)
        {
                if (GNUNET_NO == cur->include_friend_only)
@@ -905,7 +906,7 @@
     GNUNET_assert (hs < GNUNET_SERVER_MAX_MESSAGE_SIZE -
                    sizeof (struct InfoMessage));
     memcpy (&im[1], pos->hello, hs);
-    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Adding public HELLO with size %u for 
peer `%s'\n",
+    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sending public HELLO with size %u 
for peer `%4s'\n",
                hs, GNUNET_h2s (key));
   }
   else if ((pos->friend_only_hello != NULL) && (GNUNET_YES == tc->friend_only))
@@ -915,7 +916,7 @@
     GNUNET_assert (hs < GNUNET_SERVER_MAX_MESSAGE_SIZE -
                    sizeof (struct InfoMessage));
     memcpy (&im[1], pos->friend_only_hello, hs);
-    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Adding public HELLO with size %u for 
peer `%s'\n",
+    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sending friend-only HELLO with size 
%u for peer `%4s'\n",
                hs, GNUNET_h2s (key));
   }
   else
@@ -1102,7 +1103,6 @@
   struct HostEntry *he = value;
   struct InfoMessage *msg;
 
-
        if ((NULL == he->hello) && (GNUNET_NO == nc->include_friend_only))
        {
                /* We have no public hello  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]