jingle/register.c
changeset 127 02dde03e219b
parent 76 42b487daee7d
child 135 06b7c6f1c05c
--- a/jingle/register.c	Sun Aug 15 16:37:32 2010 +0200
+++ b/jingle/register.c	Sun Aug 15 17:35:41 2010 +0200
@@ -108,7 +108,8 @@
 /**
  * Determine which transport is better suited for a given app.
  */
-JingleTransportFuncs *jingle_transport_for_app(const gchar *appxmlns, GSList **forbid)
+const gchar *jingle_transport_for_app(const gchar *appxmlns,
+                                               GSList **forbid)
 {
   AppHandlerEntry *app = jingle_find_app(appxmlns);
   GSList *entry;
@@ -138,7 +139,7 @@
   if (forbid != NULL)
     *forbid = g_slist_append(*forbid, besttransport->xmlns);
   
-  return besttransport != NULL?besttransport->funcs:NULL;
+  return besttransport != NULL?besttransport->xmlns:NULL;
 }
 
 /**