[Nice] [nice/master] get_local_credentials strdups the credentials so it shouldn't be a const

Youness Alaoui youness.alaoui at collabora.co.uk
Wed Nov 12 16:47:16 PST 2008


---
 agent/agent.c |    2 +-
 agent/agent.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/agent/agent.c b/agent/agent.c
index 0afe2bc..4a86d7b 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -1179,7 +1179,7 @@ NICEAPI_EXPORT gboolean
 nice_agent_get_local_credentials (
   NiceAgent *agent,
   guint stream_id,
-  const gchar **ufrag, const gchar **pwd)
+  gchar **ufrag, gchar **pwd)
 {
   Stream *stream;
   gboolean ret = TRUE;
diff --git a/agent/agent.h b/agent/agent.h
index 559cfe6..30ad564 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -391,7 +391,7 @@ gboolean
 nice_agent_get_local_credentials (
   NiceAgent *agent,
   guint stream_id,
-  const gchar **ufrag, const gchar **pwd);
+  gchar **ufrag, gchar **pwd);
 
 /**
  * nice_agent_set_remote_candidates:
-- 
1.5.6.5




More information about the Nice mailing list