[farsight2/master] Don't offerflow if nice candidate is inet6
Olivier Crête
olivier.crete at collabora.co.uk
Tue Mar 31 10:36:14 PDT 2009
---
transmitters/nice/fs-nice-stream-transmitter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 61ddcd3..6f0a85d 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -974,7 +974,7 @@ nice_candidate_to_fs_candidate (NiceAgent *agent, NiceCandidate *nicecandidate,
gboolean local)
{
FsCandidate *fscandidate;
- gchar *ipaddr = g_malloc (INET_ADDRSTRLEN);
+ gchar *ipaddr = g_malloc (INET6_ADDRSTRLEN);
nice_address_to_string (&nicecandidate->addr, ipaddr);
--
1.5.6.5
More information about the farsight-commits
mailing list