aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesh/mesh_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index 996c8303c..57bea77e1 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -496,7 +496,7 @@ GNUNET_MESH_peer_request_connect_by_type (struct GNUNET_MESH_Handle *handle,
496 for (i = element->type_head; i != NULL; i = i->next) 496 for (i = element->type_head; i != NULL; i = i->next)
497 if (application_type == i->type) 497 if (application_type == i->type)
498 return GNUNET_MESH_peer_request_connect_all (handle, timeout, 1, 498 return GNUNET_MESH_peer_request_connect_all (handle, timeout, 1,
499 &handle->myself, 499 &element->peer,
500 connect_handler, 500 connect_handler,
501 disconnect_handler, 501 disconnect_handler,
502 handler_cls); 502 handler_cls);