Commit dde88a9f authored by Youness Alaoui's avatar Youness Alaoui
Browse files

Fix a typo, use the proper enum comparison for NiceRelayType

parent f84214e2
......@@ -1526,7 +1526,7 @@ nice_agent_set_relay_info(NiceAgent *agent,
g_return_val_if_fail (server_port, FALSE);
g_return_val_if_fail (username, FALSE);
g_return_val_if_fail (password, FALSE);
g_return_val_if_fail (type <= NICE_PROXY_TYPE_LAST, FALSE);
g_return_val_if_fail (type <= NICE_RELAY_TYPE_TURN_TLS, FALSE);
agent_lock();
......
Supports Markdown
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