aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-07 22:53:54 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-07 22:53:54 +0000
commit629a4960f97c50422770c1267aeddb175b8b89a7 (patch)
tree8ca50667e0fd98b3fe42b36a737f0d8f5da0ce03 /src
parent8cd02da71a542322a98429e9b071da8b1c013fc5 (diff)
downloadgnunet-629a4960f97c50422770c1267aeddb175b8b89a7.tar.gz
gnunet-629a4960f97c50422770c1267aeddb175b8b89a7.zip
-style
Diffstat (limited to 'src')
-rw-r--r--src/cadet/cadet_api.c7
1 files changed, 4 insertions, 3 deletions
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,
2096 * @param impl_state state of the implementation 2096 * @param impl_state state of the implementation
2097 */ 2097 */
2098static void 2098static void
2099cadet_mq_destroy_impl (struct GNUNET_MQ_Handle *mq, void *impl_state) 2099cadet_mq_destroy_impl (struct GNUNET_MQ_Handle *mq,
2100 void *impl_state)
2100{ 2101{
2101 struct CadetMQState *state = impl_state; 2102 struct CadetMQState *state = impl_state;
2102 2103
@@ -2124,8 +2125,8 @@ GNUNET_CADET_mq_create (struct GNUNET_CADET_Channel *channel)
2124 state = GNUNET_new (struct CadetMQState); 2125 state = GNUNET_new (struct CadetMQState);
2125 state->channel = channel; 2126 state->channel = channel;
2126 2127
2127 mq = GNUNET_MQ_queue_for_callbacks (cadet_mq_send_impl, 2128 mq = GNUNET_MQ_queue_for_callbacks (&cadet_mq_send_impl,
2128 cadet_mq_destroy_impl, 2129 &cadet_mq_destroy_impl,
2129 NULL, /* FIXME: cancel impl. */ 2130 NULL, /* FIXME: cancel impl. */
2130 state, 2131 state,
2131 NULL, /* no msg handlers */ 2132 NULL, /* no msg handlers */