Removing all the tests for the bluetooth transport plugin.
[oweals/gnunet.git] / src / transport / plugin_transport_unix.c
index 5cf9c51254d99706671aad147b78d69511c9328d..2087d30e5ab972a5446ae0731604d4ae78cec3ae 100644 (file)
@@ -700,7 +700,7 @@ get_session_it (void *cls,
   struct GetSessionIteratorContext *gsi = cls;
   struct Session *s = value;
 
-  if ( (gsi->addrlen == s->addrlen) &&
+  if ((GNUNET_NO == s->inbound) && (gsi->addrlen == s->addrlen) &&
        (0 == memcmp (gsi->address, s->addr, s->addrlen)) )
   {
     gsi->res = s;