diff options
author | t3sserakt <t3ss@posteo.de> | 2019-06-25 18:06:44 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2019-06-26 00:15:31 +0200 |
commit | 51ac8f0d836806a499bdb8988d80380a78e736de (patch) | |
tree | 5b758c9c2a2f665d52ca0b5ef0030ef8f67f3ca2 /src/vpn | |
parent | c4fa51bb2d924fe3f7fc94f3c1cbdda179b8a4d5 (diff) | |
download | gnunet-51ac8f0d836806a499bdb8988d80380a78e736de.tar.gz gnunet-51ac8f0d836806a499bdb8988d80380a78e736de.zip |
added per message GNUNET_MQ_PriorityPreferences
Diffstat (limited to 'src/vpn')
-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); |