Commit 0f9d0a98 authored by Youness Alaoui's avatar Youness Alaoui

port test turn to the new refresh API

parent f3280207
...@@ -207,7 +207,8 @@ static void numb (void) ...@@ -207,7 +207,8 @@ static void numb (void)
req_len = stun_usage_turn_create_refresh (&agent, &refresh_msg, refresh, req_len = stun_usage_turn_create_refresh (&agent, &refresh_msg, refresh,
sizeof(refresh), &req_msg, 0, STUN_USAGE_TURN_COMPATIBILITY_DRAFT9); sizeof(refresh), &req_msg, 0, username, strlen (username),
password, strlen(password),STUN_USAGE_TURN_COMPATIBILITY_DRAFT9);
assert (req_len > 0); assert (req_len > 0);
val = send (fd, refresh, req_len, MSG_NOSIGNAL); val = send (fd, refresh, req_len, MSG_NOSIGNAL);
......
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