diff options
Diffstat (limited to 'src/vpn/gnunet-service-vpn.c')
-rw-r--r-- | src/vpn/gnunet-service-vpn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c index 91bc13fd8..7bd26798e 100644 --- a/src/vpn/gnunet-service-vpn.c +++ b/src/vpn/gnunet-service-vpn.c | |||
@@ -589,6 +589,8 @@ send_to_channel (struct ChannelState *ts, | |||
589 | 589 | ||
590 | GNUNET_assert (NULL != ts->channel); | 590 | GNUNET_assert (NULL != ts->channel); |
591 | mq = GNUNET_CADET_get_mq (ts->channel); | 591 | mq = GNUNET_CADET_get_mq (ts->channel); |
592 | GNUNET_MQ_env_set_options(env, | ||
593 | GNUNET_MQ_PREF_DEFAULT); | ||
592 | GNUNET_MQ_send (mq, | 594 | GNUNET_MQ_send (mq, |
593 | env); | 595 | env); |
594 | if (GNUNET_MQ_get_length (mq) > MAX_MESSAGE_QUEUE_SIZE) | 596 | if (GNUNET_MQ_get_length (mq) > MAX_MESSAGE_QUEUE_SIZE) |
@@ -1388,7 +1390,6 @@ create_channel (struct ChannelState *ts, | |||
1388 | ts, | 1390 | ts, |
1389 | target, | 1391 | target, |
1390 | port, | 1392 | port, |
1391 | GNUNET_CADET_OPTION_DEFAULT, | ||
1392 | NULL, | 1393 | NULL, |
1393 | &channel_cleaner, | 1394 | &channel_cleaner, |
1394 | cadet_handlers); | 1395 | cadet_handlers); |