fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 17 Oct 2011 20:02:25 +0000 (20:02 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 17 Oct 2011 20:02:25 +0000 (20:02 +0000)
src/transport/plugin_transport_tcp.c

index 546c2aa36c6c3f1c8a3c0ed6648a706f347fcabe..7c724f532f99dfd7c417bd8741e03442d3ae1197 100644 (file)
@@ -985,7 +985,7 @@ tcp_plugin_send (void *cls, const struct GNUNET_PeerIdentity *target,
     }
     session = cand_session;
   }
-  if ((session == NULL) && (addr == NULL))
+  if ((session == NULL) && (addrlen == 0))
   {
 #if DEBUG_TCP
     GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp",