[Telepathy-commits] [telepathy-gabble/master] GabbleJingleFactory: default to the standard STUN port if unspecified

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Feb 25 10:49:30 PST 2009


---
 src/jingle-factory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/jingle-factory.c b/src/jingle-factory.c
index 2adc87a..1b50ecf 100644
--- a/src/jingle-factory.c
+++ b/src/jingle-factory.c
@@ -169,7 +169,7 @@ jingle_info_cb (LmMessageHandler *handler,
         {
           const gchar *server;
           const gchar *port_attr;
-          guint port = 0;
+          guint port = GABBLE_PARAMS_DEFAULT_STUN_PORT;
 
           server = lm_message_node_get_attribute (node, "host");
           port_attr = lm_message_node_get_attribute (node, "udp");
-- 
1.5.6.5




More information about the telepathy-commits mailing list