aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesh/test_mesh2_local.c2
-rw-r--r--src/mesh/test_mesh2_small.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/mesh/test_mesh2_local.c b/src/mesh/test_mesh2_local.c
index b62cc9ac82..68452ffdf2 100644
--- a/src/mesh/test_mesh2_local.c
+++ b/src/mesh/test_mesh2_local.c
@@ -97,7 +97,6 @@ do_abort (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
* @param cls closure (set from GNUNET_MESH_connect)
* @param tunnel connection to the other end
* @param tunnel_ctx place to store local state associated with the tunnel
- * @param sender who sent the message
* @param message the actual message
*
* @return GNUNET_OK to keep the connection open,
@@ -105,7 +104,6 @@ do_abort (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
*/
static int
data_callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx,
- const struct GNUNET_PeerIdentity *sender,
const struct GNUNET_MessageHeader *message)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: Data callback\n");
diff --git a/src/mesh/test_mesh2_small.c b/src/mesh/test_mesh2_small.c
index ba21a3848b..eabffeb11b 100644
--- a/src/mesh/test_mesh2_small.c
+++ b/src/mesh/test_mesh2_small.c
@@ -393,14 +393,12 @@ tmt_rdy (void *cls, size_t size, void *buf)
* @param cls closure (set from GNUNET_MESH_connect)
* @param tunnel connection to the other end
* @param tunnel_ctx place to store local state associated with the tunnel
- * @param sender who sent the message
* @param message the actual message
* @return GNUNET_OK to keep the connection open,
* GNUNET_SYSERR to close it (signal serious error)
*/
int
data_callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx,
- const struct GNUNET_PeerIdentity *sender,
const struct GNUNET_MessageHeader *message)
{
long client = (long) cls;