diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-07-16 13:17:02 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-07-16 13:17:02 +0000 |
commit | 40d01d900dd900d3cb8f902d6895e43ee74d6bb9 (patch) | |
tree | 86a202dd2283b951fb676a0d1c13de4ed839017a /src | |
parent | a18d54010b764e09aa1183f16f86e50e27a032f2 (diff) | |
download | gnunet-40d01d900dd900d3cb8f902d6895e43ee74d6bb9.tar.gz gnunet-40d01d900dd900d3cb8f902d6895e43ee74d6bb9.zip |
-use new API
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/test_mesh_small.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c index b2b2b4066..a2b4307a1 100644 --- a/src/mesh/test_mesh_small.c +++ b/src/mesh/test_mesh_small.c | |||
@@ -624,7 +624,7 @@ tunnel_cleaner (void *cls, const struct GNUNET_MESH_Tunnel *tunnel, | |||
624 | static void | 624 | static void |
625 | do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 625 | do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |
626 | { | 626 | { |
627 | int buf; | 627 | int nobuf; |
628 | int rel; | 628 | int rel; |
629 | 629 | ||
630 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test_task\n"); | 630 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test_task\n"); |
@@ -639,10 +639,10 @@ do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
639 | if (SPEED_NOBUF == test) | 639 | if (SPEED_NOBUF == test) |
640 | { | 640 | { |
641 | test = SPEED; | 641 | test = SPEED; |
642 | buf = GNUNET_NO; | 642 | nobuf = GNUNET_YES; |
643 | } | 643 | } |
644 | else | 644 | else |
645 | buf = GNUNET_YES; | 645 | nobuf = GNUNET_NO; |
646 | 646 | ||
647 | if (SPEED_REL == test) | 647 | if (SPEED_REL == test) |
648 | { | 648 | { |
@@ -651,7 +651,7 @@ do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
651 | } | 651 | } |
652 | else | 652 | else |
653 | rel = GNUNET_NO; | 653 | rel = GNUNET_NO; |
654 | t = GNUNET_MESH_tunnel_create (h1, NULL, p_id[1], 1, buf, rel); | 654 | t = GNUNET_MESH_tunnel_create (h1, NULL, p_id[1], 1, nobuf, rel); |
655 | 655 | ||
656 | disconnect_task = GNUNET_SCHEDULER_add_delayed (SHORT_TIME, | 656 | disconnect_task = GNUNET_SCHEDULER_add_delayed (SHORT_TIME, |
657 | &disconnect_mesh_peers, | 657 | &disconnect_mesh_peers, |