fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 17 Feb 2010 14:22:22 +0000 (14:22 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 17 Feb 2010 14:22:22 +0000 (14:22 +0000)
src/transport/transport_api.c

index a4282607f775ff777dc324d657bede815300f7e3..020253bc72eb3c4984b8ea8e14cb8bf07977cf80 100644 (file)
@@ -1464,7 +1464,7 @@ demultiplexer (void *cls, const struct GNUNET_MessageHeader *msg)
                   "DISCONNECT",
                  GNUNET_i2s (&dim->peer));
 #endif
-      n = neighbour_find (h, &dim->id);
+      n = neighbour_find (h, &dim->peer);
       GNUNET_break (n != NULL);
       if (n != NULL)
        neighbour_disconnect (n);