diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-07 22:53:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-07 22:53:54 +0000 |
commit | 629a4960f97c50422770c1267aeddb175b8b89a7 (patch) | |
tree | 8ca50667e0fd98b3fe42b36a737f0d8f5da0ce03 /src | |
parent | 8cd02da71a542322a98429e9b071da8b1c013fc5 (diff) | |
download | gnunet-629a4960f97c50422770c1267aeddb175b8b89a7.tar.gz gnunet-629a4960f97c50422770c1267aeddb175b8b89a7.zip |
-style
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/cadet_api.c | 7 |
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 | */ |
2098 | static void | 2098 | static void |
2099 | cadet_mq_destroy_impl (struct GNUNET_MQ_Handle *mq, void *impl_state) | 2099 | cadet_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 */ |