gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r551 - GNUnet/src/applications/transport


From: grothoff
Subject: [GNUnet-SVN] r551 - GNUnet/src/applications/transport
Date: Fri, 1 Apr 2005 16:16:28 -0800 (PST)

Author: grothoff
Date: 2005-04-01 16:16:25 -0800 (Fri, 01 Apr 2005)
New Revision: 551

Modified:
   GNUnet/src/applications/transport/transport.c
Log:
up

Modified: GNUnet/src/applications/transport/transport.c
===================================================================
--- GNUnet/src/applications/transport/transport.c       2005-04-02 00:10:40 UTC 
(rev 550)
+++ GNUnet/src/applications/transport/transport.c       2005-04-02 00:16:25 UTC 
(rev 551)
@@ -260,9 +260,12 @@
                         const unsigned int size) {
   TransportAPI * tapi;
 
-  if (tsession == NULL)
+  if (tsession == NULL) {
+    LOG(LOG_DEBUG,
+        "transportSend attempted on uni-directional pipe, failing.\n");        
            
     return SYSERR; /* can't do that, can happen for unidirectional pipes
                      that call core with TSession being NULL. */
+  }
   if (tsession->ttype >= tapis_count) {
     LOG(LOG_FAILURE,
        "%s failed, transport type %d unknown.\n",





reply via email to

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