aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/cadet_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/cadet_api.c')
-rw-r--r--src/cadet/cadet_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c
index 497c9a4f0..6b07ab7b7 100644
--- a/src/cadet/cadet_api.c
+++ b/src/cadet/cadet_api.c
@@ -491,7 +491,7 @@ cadet_mq_send_impl (struct GNUNET_MQ_Handle *mq,
491 struct GNUNET_CADET_Handle *h = ch->cadet; 491 struct GNUNET_CADET_Handle *h = ch->cadet;
492 uint16_t msize; 492 uint16_t msize;
493 struct GNUNET_MQ_Envelope *env; 493 struct GNUNET_MQ_Envelope *env;
494 struct GNUNET_CADET_LocalData *cadet_msg; 494 struct GNUNET_CADET_LocalData *cadet_msg = NULL;
495 495
496 if (NULL == h->mq) 496 if (NULL == h->mq)
497 { 497 {
@@ -638,7 +638,6 @@ handle_channel_created (void *cls,
638 ch = create_channel (h, 638 ch = create_channel (h,
639 &ccn); 639 &ccn);
640 ch->peer = msg->peer; 640 ch->peer = msg->peer;
641 ch->cadet = h;
642 ch->incoming_port = port; 641 ch->incoming_port = port;
643 ch->options = ntohl (msg->opt); 642 ch->options = ntohl (msg->opt);
644 LOG (GNUNET_ERROR_TYPE_DEBUG, 643 LOG (GNUNET_ERROR_TYPE_DEBUG,