Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cedar/Connection.c')
-rw-r--r--src/Cedar/Connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Cedar/Connection.c b/src/Cedar/Connection.c
index ada6ecc2..517096e4 100644
--- a/src/Cedar/Connection.c
+++ b/src/Cedar/Connection.c
@@ -1030,7 +1030,7 @@ void ConnectionSend(CONNECTION *c, UINT64 now)
UINT size;
SESSION *s;
HUB *hub = NULL;
- bool use_qos;
+ bool use_qos = false;
// Validate arguments
if (c == NULL)
{
@@ -1038,11 +1038,11 @@ void ConnectionSend(CONNECTION *c, UINT64 now)
}
s = c->Session;
- use_qos = s->QoS;
if (s != NULL)
{
hub = s->Hub;
+ use_qos = s->QoS;
}
// Protocol