gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 06/11: fix cadet mq api, use proper function argum


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 06/11: fix cadet mq api, use proper function arguments
Date: Wed, 08 Feb 2017 19:44:34 +0100

This is an automated email from the git hooks/post-receive script.

bart-polot pushed a commit to branch master
in repository gnunet.

commit 555b46223bfb15267d459dba1e47e2862715c7ab
Author: Bart Polot <address@hidden>
AuthorDate: Wed Feb 8 17:27:23 2017 +0100

    fix cadet mq api, use proper function arguments
---
 src/cadet/cadet_api.c | 4 ++--
 1 file 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,
                                             port->handlers,
                                             &cadet_mq_error_handler,
                                             ch);
-    ch->ctx = port->connects (port->cadet->cls,
+    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));
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]