aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-04-14 20:46:22 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-04-14 20:46:22 +0000
commit6a957aea5b660cb8a7eae9ea0b5c9e1300caf23b (patch)
treecc7ba637d8d9703c5dc0fd7f4fa94d791ddc85a3
parent08676aaa5b76a0723c8c60ee510aec3652e50774 (diff)
downloadgnunet-6a957aea5b660cb8a7eae9ea0b5c9e1300caf23b.tar.gz
gnunet-6a957aea5b660cb8a7eae9ea0b5c9e1300caf23b.zip
- fix
-rw-r--r--src/testbed/gnunet-service-testbed_links.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testbed/gnunet-service-testbed_links.c b/src/testbed/gnunet-service-testbed_links.c
index 0ee8c6385..80e96762b 100644
--- a/src/testbed/gnunet-service-testbed_links.c
+++ b/src/testbed/gnunet-service-testbed_links.c
@@ -851,8 +851,8 @@ GST_neighbour_get_connection_cancel (struct NeighbourConnectNotification *h)
851 struct Neighbour *n; 851 struct Neighbour *n;
852 int cleanup_task; 852 int cleanup_task;
853 853
854 cleanup_task = (h == n->nl_head) ? GNUNET_YES : GNUNET_NO;
855 n = h->n; 854 n = h->n;
855 cleanup_task = (h == n->nl_head) ? GNUNET_YES : GNUNET_NO;
856 GNUNET_CONTAINER_DLL_remove (n->nl_head, n->nl_tail, h); 856 GNUNET_CONTAINER_DLL_remove (n->nl_head, n->nl_tail, h);
857 GNUNET_free (h); 857 GNUNET_free (h);
858 if (GNUNET_NO == cleanup_task) 858 if (GNUNET_NO == cleanup_task)