diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-04-22 19:54:50 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-04-22 20:58:41 -0400 |
commit | 3df534a75cb3c47f4808d0269d9cffe763813417 (patch) | |
tree | 4c52d3c0c91b973390ce7ceb2111f80f21645dfd | |
parent | 73926858b85a03b9782da5199faa70988c8126df (diff) | |
download | libnice-3df534a75cb3c47f4808d0269d9cffe763813417.tar.gz |
agent: Print valid string even with no local candidates
-rw-r--r-- | agent/agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/agent.c b/agent/agent.c index da7d202..259fdc9 100644 --- a/agent/agent.c +++ b/agent/agent.c @@ -5533,7 +5533,7 @@ _generate_stream_sdp (NiceAgent *agent, Stream *stream, if (include_non_ice) { NiceAddress rtp, rtcp; - gchar ip4[INET6_ADDRSTRLEN]; + gchar ip4[INET6_ADDRSTRLEN] = ""; nice_address_init (&rtp); nice_address_set_ipv4 (&rtp, 0); |