gnunet-svn
[Top][All Lists]
Advanced

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

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


From: grothoff
Subject: [GNUnet-SVN] r566 - GNUnet/src/transports
Date: Fri, 1 Apr 2005 22:05:14 -0800 (PST)

Author: grothoff
Date: 2005-04-01 22:05:12 -0800 (Fri, 01 Apr 2005)
New Revision: 566

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

Modified: GNUnet/src/transports/tcp.c
===================================================================
--- GNUnet/src/transports/tcp.c 2005-04-02 05:54:42 UTC (rev 565)
+++ GNUnet/src/transports/tcp.c 2005-04-02 06:05:12 UTC (rev 566)
@@ -708,7 +708,7 @@
        int success;
 
 try_again_1:
-#if TCP_DEBUG
+#if DEBUG_TCP
        LOG(LOG_DEBUG,
            "TCP: trying to send %u bytes\n",
            tcpSession->wpos);
@@ -791,7 +791,7 @@
   size_t ret;
   int success;
 
-#if TCP_DEBUG
+#if DEBUG_TCP
   LOG(LOG_DEBUG, 
       "tcpDirectSend called to transmit %u bytes.\n",
       ssize);
@@ -824,7 +824,7 @@
     MUTEX_UNLOCK(&tcplock);
     return SYSERR;
   }
-#if TCP_DEBUG
+#if DEBUG_TCP
        LOG(LOG_DEBUG,
            "TCP: trying to send %u bytes\n",
            ssize);
@@ -876,7 +876,7 @@
                                 unsigned int ssize) {
   int ok;
 
-#if TCP_DEBUG
+#if DEBUG_TCP
   LOG(LOG_DEBUG, 
       "tcpDirectSendReliable called to transmit %u bytes.\n",
       ssize);
@@ -908,7 +908,7 @@
     memcpy(&tcpSession->wbuff[old],
           mp,
           ssize);
-#if TCP_DEBUG
+#if DEBUG_TCP
     LOG(LOG_DEBUG, 
        "tcpDirectSendReliable appended message to send buffer.\n");
 #endif   
@@ -1143,7 +1143,7 @@
   TCPMessagePack * mp;
   int ok;
 
-#if TCP_DEBUG
+#if DEBUG_TCP
   LOG(LOG_DEBUG, 
       "tcpSend called to transmit %u bytes.\n",
       size);
@@ -1154,7 +1154,7 @@
   }
 
   if (tcp_shutdown == YES) {
-#if TCP_DEBUG
+#if DEBUG_TCP
     LOG(LOG_DEBUG, 
        "tcpSend called while TCP is shutdown.\n");
 #endif   
@@ -1165,7 +1165,7 @@
     return SYSERR;
   }
   if (((TCPSession*)tsession->internal)->sock == -1) {
-#if TCP_DEBUG
+#if DEBUG_TCP
     LOG(LOG_DEBUG, 
        "tcpSend called after other side closed connection.\n");
 #endif    





reply via email to

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