jingle/jingle.c
changeset 91 7d3e75eec29e
parent 89 88bb2d0f9ff8
child 96 3922f5c96973
--- a/jingle/jingle.c	Tue Aug 10 18:23:07 2010 +0200
+++ b/jingle/jingle.c	Tue Aug 10 18:59:28 2010 +0200
@@ -119,7 +119,7 @@
       // request malformed, we reply with a bad-request
       jingle_send_iq_error(message, "cancel", "bad-request", NULL);
       scr_log_print(LPRINT_DEBUG,
-                    "jingle: ", error->message);
+                    "jingle: %s", error->message);
     }
     g_clear_error(&error);
     return LM_HANDLER_RESULT_REMOVE_MESSAGE;
@@ -290,8 +290,8 @@
   for (thisres = reslist; thisres; thisres = g_slist_next(thisres)) {
     found = TRUE;
     for (indexns = 0; ns[indexns]; indexns++) {
-	   if (!caps_has_feature(buddy_resource_getcaps(roster_usr->data, thisres->data), ns[indexns]))
-	     found = FALSE;
+	  // if (!caps_has_feature(buddy_resource_getcaps(roster_usr->data, thisres->data), ns[indexns]))
+	   //  found = FALSE;
 	 }
 	 if (!found) continue;