aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/test_mesh_api.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-09-02 19:59:58 +0000
committerBart Polot <bart@net.in.tum.de>2011-09-02 19:59:58 +0000
commit0ee1339afc5c5e1105e234b6840c87df58a01f2c (patch)
tree64329e69e58ac66fa38f425eccf8ebebb13f1dd9 /src/mesh/test_mesh_api.c
parente1fda8a5d8674328afa61cc50842fdbd2a7044ba (diff)
downloadgnunet-0ee1339afc5c5e1105e234b6840c87df58a01f2c.tar.gz
gnunet-0ee1339afc5c5e1105e234b6840c87df58a01f2c.zip
Changes in API, adapted code and testfiles, improved client reconnect, new documentation, small fixes
Diffstat (limited to 'src/mesh/test_mesh_api.c')
-rw-r--r--src/mesh/test_mesh_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/test_mesh_api.c b/src/mesh/test_mesh_api.c
index 312e72375..060db9c8a 100644
--- a/src/mesh/test_mesh_api.c
+++ b/src/mesh/test_mesh_api.c
@@ -104,7 +104,7 @@ test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
104 struct GNUNET_MESH_Tunnel *t; 104 struct GNUNET_MESH_Tunnel *t;
105 105
106 test_task = (GNUNET_SCHEDULER_TaskIdentifier) 0; 106 test_task = (GNUNET_SCHEDULER_TaskIdentifier) 0;
107 mesh = GNUNET_MESH_connect (cfg, 10, NULL, NULL, handlers, app); 107 mesh = GNUNET_MESH_connect (cfg, 10, NULL, NULL, NULL, handlers, app);
108 if (NULL == mesh) 108 if (NULL == mesh)
109 { 109 {
110 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Couldn't connect to mesh :(\n"); 110 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Couldn't connect to mesh :(\n");
@@ -115,7 +115,7 @@ test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
115 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "YAY! CONNECTED TO MESH :D\n"); 115 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "YAY! CONNECTED TO MESH :D\n");
116 } 116 }
117 117
118 t = GNUNET_MESH_tunnel_create (mesh, NULL, NULL, NULL); 118 t = GNUNET_MESH_tunnel_create (mesh, NULL, NULL, NULL, NULL);
119 119
120 GNUNET_MESH_tunnel_destroy (t); 120 GNUNET_MESH_tunnel_destroy (t);
121 121