gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r562 - GNUnet/src/transports


From: grothoff
Subject: [GNUnet-SVN] r562 - GNUnet/src/transports
Date: Fri, 1 Apr 2005 21:45:58 -0800 (PST)

Author: grothoff
Date: 2005-04-01 21:45:57 -0800 (Fri, 01 Apr 2005)
New Revision: 562

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

Modified: GNUnet/src/transports/tcp.c
===================================================================
--- GNUnet/src/transports/tcp.c 2005-04-02 05:39:46 UTC (rev 561)
+++ GNUnet/src/transports/tcp.c 2005-04-02 05:45:57 UTC (rev 562)
@@ -791,6 +791,11 @@
   size_t ret;
   int success;
 
+#if TCP_DEBUG
+  LOG(LOG_DEBUG, 
+      "tcpDirectSend called to transmit %u bytes.\n",
+      ssize);
+#endif   
   if (tcp_shutdown == YES) {
 #if DEBUG_TCP
     LOG(LOG_DEBUG,
@@ -1123,6 +1128,11 @@
   TCPMessagePack * mp;
   int ok;
 
+#if TCP_DEBUG
+  LOG(LOG_DEBUG, 
+      "tcpSend called to transmit %u bytes.\n",
+      size);
+#endif   
   if (size >= MAX_BUFFER_SIZE) {
     BREAK();
     return SYSERR;
@@ -1130,7 +1140,8 @@
 
   if (tcp_shutdown == YES) {
 #if TCP_DEBUG
-         LOG(LOG_DEBUG, "tcpSend called while TCP is shutdown.\n");
+    LOG(LOG_DEBUG, 
+       "tcpSend called while TCP is shutdown.\n");
 #endif   
     return SYSERR;
   }   
@@ -1140,7 +1151,8 @@
   }
   if (((TCPSession*)tsession->internal)->sock == -1) {
 #if TCP_DEBUG
-         LOG(LOG_DEBUG, "tcpSend called after other side closed 
connection.\n");
+    LOG(LOG_DEBUG, 
+       "tcpSend called after other side closed connection.\n");
 #endif    
     return SYSERR; /* other side closed connection */
   }  





reply via email to

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