[farsight2/master] The local credentials are now copied inside libnice
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:35 PST 2008
---
transmitters/nice/fs-nice-stream-transmitter.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 7724cae..e16d6b9 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -769,8 +769,8 @@ nice_candidate_to_fs_candidate (NiceAgent *agent, NiceCandidate *nicecandidate,
const gchar *username = NULL, *password = NULL;
nice_agent_get_local_credentials (agent, nicecandidate->stream_id,
&username, &password);
- fscandidate->username = g_strdup (username);
- fscandidate->password = g_strdup (password);
+ fscandidate->username = username;
+ fscandidate->password = password;
if (username == NULL || password == NULL)
{
--
1.5.6.5
More information about the farsight-commits
mailing list