From e3cb560a6d22dbe111447039098960cb353402ec Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 26 Jul 2014 14:41:27 +0200 Subject: [PATCH] Fix declaration of meshlink_set_channel_receive_cb(). --- src/meshlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshlink.h b/src/meshlink.h index 9db3c3d8..7bb0da99 100644 --- a/src/meshlink.h +++ b/src/meshlink.h @@ -370,7 +370,7 @@ extern void meshlink_set_channel_accept_cb(meshlink_handle_t *mesh, meshlink_cha * @param channel A handle for the channel. * @param cb A pointer to the function which will be called when another node sends data to the local node. */ -extern void meshlink_set_channel_receive_cb(meshlink_handle_t *mesh, meshlink_channel_t *channel, meshlink_receive_cb_t cb); +extern void meshlink_set_channel_receive_cb(meshlink_handle_t *mesh, meshlink_channel_t *channel, meshlink_channel_receive_cb_t cb); /// Open a reliable stream channel to another node. /** This function is called whenever a remote node wants to open a channel to the local node. -- 2.39.2