Commit 67ff867b authored by Youness Alaoui's avatar Youness Alaoui

Verify the content of an array, not if it is there

parent 26042608
......@@ -2577,7 +2577,7 @@ static bool conncheck_stun_validater (StunAgent *agent,
if (cand->password)
pass = cand->password;
else if(data->stream->local_password)
else if(data->stream->local_password[0])
pass = data->stream->local_password;
if (pass) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment