From: t3sserakt Date: Tue, 25 Jun 2019 13:53:30 +0000 (+0200) Subject: Merge branch 'master' into cadet_option X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6d57015351b3dcd1701edcefff21eec506a65257;p=oweals%2Fgnunet.git Merge branch 'master' into cadet_option --- 6d57015351b3dcd1701edcefff21eec506a65257 diff --cc src/cadet/cadet_api.c index 8638be27d,e141787a0..b16520429 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c @@@ -583,10 -575,10 +570,9 @@@ handle_channel_created return; } - ch = create_channel (h, - &ccn); + ch = create_channel (h, &ccn); ch->peer = msg->peer; ch->incoming_port = port; - ch->options = ntohl (msg->opt); LOG (GNUNET_ERROR_TYPE_DEBUG, "Creating incoming channel %X [%s] %p\n", ntohl (ccn.channel_of_client), @@@ -1124,13 -1100,13 +1073,12 @@@ GNUNET_CADET_channel_create (struct GNU GNUNET_assert (NULL != disconnects); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Creating channel to peer %s at port %s\n", - GNUNET_i2s (destination), - GNUNET_h2s (port)); - ch = create_channel (h, - NULL); + "Creating channel to peer %s at port %s\n", + GNUNET_i2s (destination), + GNUNET_h2s (port)); + ch = create_channel (h, NULL); ch->ctx = channel_cls; ch->peer = *destination; - ch->options = options; ch->window_changes = window_changes; ch->disconnects = disconnects; @@@ -1151,8 -1125,8 +1097,7 @@@ msg->ccn = ch->ccn; msg->port = *port; msg->peer = *destination; - GNUNET_MQ_send (h->mq, - env); - msg->opt = htonl (options); + GNUNET_MQ_send (h->mq, env); return ch; }