gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r568 - in GNUnet/src: server transports


From: grothoff
Subject: [GNUnet-SVN] r568 - in GNUnet/src: server transports
Date: Fri, 1 Apr 2005 22:15:18 -0800 (PST)

Author: grothoff
Date: 2005-04-01 22:15:15 -0800 (Fri, 01 Apr 2005)
New Revision: 568

Modified:
   GNUnet/src/server/connection.c
   GNUnet/src/transports/tcp.c
Log:
msg

Modified: GNUnet/src/server/connection.c
===================================================================
--- GNUnet/src/server/connection.c      2005-04-02 06:08:43 UTC (rev 567)
+++ GNUnet/src/server/connection.c      2005-04-02 06:15:15 UTC (rev 568)
@@ -1914,7 +1914,15 @@
        (msg->bandwidth == 0) &&
        (msg->timeStamp == 0) )
     return NO; /* plaintext */
+  LOG(LOG_DEBUG,
+      "Not plaintext: %d, %d, %d, %d\n", 
+      equalsHashCode512(&hc,
+                       &msg->hash),
+      (msg->sequenceNumber == 0),
+      (msg->bandwidth == 0),
+      (msg->timeStamp == 0));
 
+
 #if DEBUG_CONNECTION
   LOG(LOG_DEBUG,
       "Decrypting message from host '%s'\n",

Modified: GNUnet/src/transports/tcp.c
===================================================================
--- GNUnet/src/transports/tcp.c 2005-04-02 06:08:43 UTC (rev 567)
+++ GNUnet/src/transports/tcp.c 2005-04-02 06:15:15 UTC (rev 568)
@@ -731,7 +731,7 @@
         }
 #if DEBUG_TCP
        LOG(LOG_DEBUG,
-           "TCP: transmitted %u bytes %u bytes\n",
+           "TCP: transmitted %u bytes\n",
            ret);
 #endif
        if (ret == 0) {
@@ -863,7 +863,7 @@
           ssize - ret);
     tcpSession->wpos = ssize - ret;
     signalSelect(); /* select set changed! */
-  }
+  } 
   cronTime(&tcpSession->lastUse);
   MUTEX_UNLOCK(&tcplock);
   incrementBytesSent(ssize);





reply via email to

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