gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r427 - GNUnet/src/applications/session


From: grothoff
Subject: [GNUnet-SVN] r427 - GNUnet/src/applications/session
Date: Sat, 12 Mar 2005 11:51:52 -0800 (PST)

Author: grothoff
Date: 2005-03-12 11:51:51 -0800 (Sat, 12 Mar 2005)
New Revision: 427

Modified:
   GNUnet/src/applications/session/connect.c
Log:
clnup

Modified: GNUnet/src/applications/session/connect.c
===================================================================
--- GNUnet/src/applications/session/connect.c   2005-03-12 19:49:34 UTC (rev 
426)
+++ GNUnet/src/applications/session/connect.c   2005-03-12 19:51:51 UTC (rev 
427)
@@ -103,11 +103,12 @@
  * @param hostId the peer that gave a sign of live
  */
 static void notifyPONG(PeerIdentity * hostId) {
+#if DEBUG_SESSION 
   EncName enc;
-
-  hash2enc(&hostId->hashPubKey,
-          &enc);
-#if DEBUG_SESSION
+  
+  IFLOG(LOG_DEBUG,
+       hash2enc(&hostId->hashPubKey,
+                &enc));
   LOG(LOG_DEBUG,
       "Received '%s' from '%s', marking session as up.\n",
       "PONG",
@@ -138,7 +139,6 @@
   int size;
   SKEY_Message * msg;
   char * pt;
-  EncName enc;
 
   GNUNET_ASSERT(sk != NULL);
   foreignHelo = NULL;





reply via email to

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