From 629a4960f97c50422770c1267aeddb175b8b89a7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 7 Dec 2014 22:53:54 +0000 Subject: -style --- src/cadet/cadet_api.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index a567a24b9..d5faf65ba 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c @@ -2096,7 +2096,8 @@ cadet_mq_send_impl (struct GNUNET_MQ_Handle *mq, * @param impl_state state of the implementation */ static void -cadet_mq_destroy_impl (struct GNUNET_MQ_Handle *mq, void *impl_state) +cadet_mq_destroy_impl (struct GNUNET_MQ_Handle *mq, + void *impl_state) { struct CadetMQState *state = impl_state; @@ -2124,8 +2125,8 @@ GNUNET_CADET_mq_create (struct GNUNET_CADET_Channel *channel) state = GNUNET_new (struct CadetMQState); state->channel = channel; - mq = GNUNET_MQ_queue_for_callbacks (cadet_mq_send_impl, - cadet_mq_destroy_impl, + mq = GNUNET_MQ_queue_for_callbacks (&cadet_mq_send_impl, + &cadet_mq_destroy_impl, NULL, /* FIXME: cancel impl. */ state, NULL, /* no msg handlers */ -- cgit v1.2.3