aboutsummaryrefslogtreecommitdiff
path: root/src/nat/nat_test.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-04-19 08:53:46 +0000
committerChristian Grothoff <christian@grothoff.org>2012-04-19 08:53:46 +0000
commitccc7218f3d2008d4e7ec5e222ba6b6451ec677ba (patch)
tree50664649cca13e5462dadea8c9bcde81c59e07ef /src/nat/nat_test.c
parent75297c57a857d0c7c1428bed00e32ed2c8b5389d (diff)
downloadgnunet-ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba.tar.gz
gnunet-ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba.zip
-removing 2nd argument from GNUNET_CLIENT_disconnect as it was virtually always GNUNET_NO --- and all other uses indicate design problems
Diffstat (limited to 'src/nat/nat_test.c')
-rw-r--r--src/nat/nat_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nat/nat_test.c b/src/nat/nat_test.c
index 92f72e4be..98ce82e73 100644
--- a/src/nat/nat_test.c
+++ b/src/nat/nat_test.c
@@ -460,7 +460,7 @@ GNUNET_NAT_test_stop (struct GNUNET_NAT_Test *tst)
460 while (NULL != (cpos = tst->ca_head)) 460 while (NULL != (cpos = tst->ca_head))
461 { 461 {
462 GNUNET_CONTAINER_DLL_remove (tst->ca_head, tst->ca_tail, cpos); 462 GNUNET_CONTAINER_DLL_remove (tst->ca_head, tst->ca_tail, cpos);
463 GNUNET_CLIENT_disconnect (cpos->client, GNUNET_NO); 463 GNUNET_CLIENT_disconnect (cpos->client);
464 GNUNET_free (cpos); 464 GNUNET_free (cpos);
465 } 465 }
466 while (NULL != (pos = tst->na_head)) 466 while (NULL != (pos = tst->na_head))