Commit 9538675d authored by Youness Alaoui's avatar Youness Alaoui

get_local_credentials strdups the credentials so it shouldn't be a const

parent e22ecb19
...@@ -1179,7 +1179,7 @@ NICEAPI_EXPORT gboolean ...@@ -1179,7 +1179,7 @@ NICEAPI_EXPORT gboolean
nice_agent_get_local_credentials ( nice_agent_get_local_credentials (
NiceAgent *agent, NiceAgent *agent,
guint stream_id, guint stream_id,
const gchar **ufrag, const gchar **pwd) gchar **ufrag, gchar **pwd)
{ {
Stream *stream; Stream *stream;
gboolean ret = TRUE; gboolean ret = TRUE;
......
...@@ -391,7 +391,7 @@ gboolean ...@@ -391,7 +391,7 @@ gboolean
nice_agent_get_local_credentials ( nice_agent_get_local_credentials (
NiceAgent *agent, NiceAgent *agent,
guint stream_id, guint stream_id,
const gchar **ufrag, const gchar **pwd); gchar **ufrag, gchar **pwd);
/** /**
* nice_agent_set_remote_candidates: * nice_agent_set_remote_candidates:
......
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