Commit e5e9801c authored by Youness Alaoui's avatar Youness Alaoui

correctly do the allocate, and not a deallocate in the test-turn

parent 0daa7380
......@@ -155,7 +155,7 @@ static void numb (void)
req_len = stun_usage_turn_create (&agent, &req_msg, req, sizeof(req),
NULL,
STUN_USAGE_TURN_REQUEST_PORT_NORMAL,
0, 0,
-1, -1,
username, strlen (username), password, strlen(password),
STUN_USAGE_TURN_COMPATIBILITY_DRAFT9);
assert (req_len > 0);
......@@ -180,7 +180,7 @@ static void numb (void)
req_len = stun_usage_turn_create (&agent, &req_msg, req, sizeof(req),
&msg,
STUN_USAGE_TURN_REQUEST_PORT_NORMAL,
0, 0,
-1, -1,
username, strlen (username), password, strlen(password),
STUN_USAGE_TURN_COMPATIBILITY_DRAFT9);
assert (req_len > 0);
......
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