gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r8513 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r8513 - gnunet/src/transport
Date: Tue, 9 Jun 2009 20:37:46 -0600

Author: grothoff
Date: 2009-06-09 20:37:46 -0600 (Tue, 09 Jun 2009)
New Revision: 8513

Modified:
   gnunet/src/transport/transport_api.c
Log:
fix

Modified: gnunet/src/transport/transport_api.c
===================================================================
--- gnunet/src/transport/transport_api.c        2009-06-10 02:30:46 UTC (rev 
8512)
+++ gnunet/src/transport/transport_api.c        2009-06-10 02:37:46 UTC (rev 
8513)
@@ -1789,7 +1789,8 @@
               size, GNUNET_i2s (target));
 #endif
   n = find_neighbour (handle, target);
-  if (n->transmit_handle != NULL)
+  if ( (n != NULL) &&
+       (n->transmit_handle != NULL) )
     return NULL; /* already have a request pending for this peer! */
   ctw = GNUNET_malloc (sizeof (struct ClientTransmitWrapper));
   th = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_TransmitHandle));





reply via email to

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