diff options
author | Bart Polot <bart.polot+voyager@gmail.com> | 2017-02-08 17:27:23 +0100 |
---|---|---|
committer | Bart Polot <bart.polot+voyager@gmail.com> | 2017-02-08 17:27:23 +0100 |
commit | 555b46223bfb15267d459dba1e47e2862715c7ab (patch) | |
tree | cdef06e8699c9e29f781ad460bd261ce50a30ebc /src/cadet/cadet_api.c | |
parent | ff9d5ad1638c7628ffb07f93da5533bff6a383c7 (diff) | |
download | gnunet-555b46223bfb15267d459dba1e47e2862715c7ab.tar.gz gnunet-555b46223bfb15267d459dba1e47e2862715c7ab.zip |
fix cadet mq api, use proper function arguments
Diffstat (limited to 'src/cadet/cadet_api.c')
-rw-r--r-- | src/cadet/cadet_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 503b1249a..2de8106a0 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c | |||
@@ -922,7 +922,7 @@ handle_channel_created (void *cls, | |||
922 | port->handlers, | 922 | port->handlers, |
923 | &cadet_mq_error_handler, | 923 | &cadet_mq_error_handler, |
924 | ch); | 924 | ch); |
925 | ch->ctx = port->connects (port->cadet->cls, | 925 | ch->ctx = port->connects (port->cls, |
926 | ch, | 926 | ch, |
927 | &msg->peer); | 927 | &msg->peer); |
928 | GNUNET_MQ_set_handlers_closure (ch->mq, ch->ctx); | 928 | GNUNET_MQ_set_handlers_closure (ch->mq, ch->ctx); |
@@ -2535,7 +2535,7 @@ GNUNET_CADET_open_porT (struct GNUNET_CADET_Handle *h, | |||
2535 | 2535 | ||
2536 | GNUNET_assert (GNUNET_OK == | 2536 | GNUNET_assert (GNUNET_OK == |
2537 | GNUNET_CONTAINER_multihashmap_put (h->ports, | 2537 | GNUNET_CONTAINER_multihashmap_put (h->ports, |
2538 | p->hash, | 2538 | &p->id, |
2539 | p, | 2539 | p, |
2540 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); | 2540 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); |
2541 | 2541 | ||