telepathy-gabble: JingleInfo: add a TODO for Google returning > 1 STUN servers
Will Thompson
wjt at kemper.freedesktop.org
Thu Dec 6 04:29:04 PST 2012
Module: telepathy-gabble
Branch: master
Commit: 84b84e7a04cc5e5d4ca51b187f7be6ebf7886062
URL: http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=84b84e7a04cc5e5d4ca51b187f7be6ebf7886062
Author: Will Thompson <will.thompson at collabora.co.uk>
Date: Fri Nov 23 17:20:39 2012 +0000
JingleInfo: add a TODO for Google returning >1 STUN servers
---
src/jingle-info.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/jingle-info.c b/src/jingle-info.c
index 27ca01f..07f1114 100644
--- a/src/jingle-info.c
+++ b/src/jingle-info.c
@@ -407,9 +407,11 @@ got_jingle_info_stanza (
if (node != NULL)
{
- node = wocky_node_get_child (node, "server");
+ WockyNodeIter iter;
- if (node != NULL)
+ /* TODO: use more than just the first stun server returned. */
+ wocky_node_iter_init (&iter, node, "server", NULL);
+ if (wocky_node_iter_next (&iter, &node))
{
const gchar *server;
const gchar *port_attr;
More information about the telepathy-commits
mailing list