projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff9d5ad
)
fix cadet mq api, use proper function arguments
author
Bart Polot
<bart.polot+voyager@gmail.com>
Wed, 8 Feb 2017 16:27:23 +0000
(17:27 +0100)
committer
Bart Polot
<bart.polot+voyager@gmail.com>
Wed, 8 Feb 2017 16:27:23 +0000
(17:27 +0100)
src/cadet/cadet_api.c
patch
|
blob
|
history
diff --git
a/src/cadet/cadet_api.c
b/src/cadet/cadet_api.c
index 503b1249af48224e26cf8b2cb263e80f1d0c6afa..2de8106a017c4c179215d8310dd689f47ce1875f 100644
(file)
--- a/
src/cadet/cadet_api.c
+++ b/
src/cadet/cadet_api.c
@@
-922,7
+922,7
@@
handle_channel_created (void *cls,
port->handlers,
&cadet_mq_error_handler,
ch);
- ch->ctx = port->connects (port->c
adet->c
ls,
+ ch->ctx = port->connects (port->cls,
ch,
&msg->peer);
GNUNET_MQ_set_handlers_closure (ch->mq, ch->ctx);
@@
-2535,7
+2535,7
@@
GNUNET_CADET_open_porT (struct GNUNET_CADET_Handle *h,
GNUNET_assert (GNUNET_OK ==
GNUNET_CONTAINER_multihashmap_put (h->ports,
-
p->hash
,
+
&p->id
,
p,
GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY));