From: Saverio Proto Date: Wed, 23 Apr 2014 22:01:01 +0000 (+0200) Subject: Adjust the callback to meshlink_receive_cb_t X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=e65f00b6472fb409c75c98b6134b0123bf3a8602;p=meshlink Adjust the callback to meshlink_receive_cb_t --- diff --git a/src/route.c b/src/route.c index d999d11e..0eb39aaf 100644 --- a/src/route.c +++ b/src/route.c @@ -75,7 +75,7 @@ void route(node_t *source,vpn_packet_t *packet) { if (owner == mesh->self ) { //TODO: implement sending received data from meshlink library to the application logger(DEBUG_TRAFFIC, LOG_WARNING, "I received a packet for me with payload: %s \n", packet->data + sizeof *hdr); - (recv_callback)(packet->data + sizeof *hdr); + (meshlink_receive_cb_t)(packet->data + sizeof *hdr); return; }