pidgin.vv: 932de261: Use new find_content wildcard.

maiku at soc.pidgin.im maiku at soc.pidgin.im
Thu Mar 19 08:50:43 EDT 2009


-----------------------------------------------------------------
Revision: 932de261b2c091dd834f54518d4c9df53b9ad7ac
Ancestor: 501faa2738fcb7d26304be49e5d53f6b61c35403
Author: maiku at soc.pidgin.im
Date: 2009-03-19T10:24:10
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/932de261b2c091dd834f54518d4c9df53b9ad7ac

Modified files:
        libpurple/protocols/jabber/jingle/rtp.c

ChangeLog: 

Use new find_content wildcard.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/rtp.c	d1ab99d2950c0a646b45fd1a783e68439219bb4f
+++ libpurple/protocols/jabber/jingle/rtp.c	0b1da6a0a0031ccc51938d050132182122357975
@@ -347,15 +347,12 @@ jingle_rtp_candidates_prepared_cb(Purple
 		gchar *sid, gchar *name, JingleSession *session)
 {
 	JingleContent *content = jingle_session_find_content(
-			session, sid, "initiator");
+			session, sid, NULL);
 	JingleTransport *oldtransport, *transport;
 	GList *candidates;
 
 	purple_debug_info("jingle-rtp", "jingle_rtp_candidates_prepared_cb\n");
 
-	if (content == NULL)
-		jingle_session_find_content(session, sid, "responder");
-
 	if (content == NULL) {
 		purple_debug_error("jingle-rtp",
 				"jingle_rtp_candidates_prepared_cb: "
@@ -389,15 +386,11 @@ jingle_rtp_new_candidate_cb(PurpleMedia 
 jingle_rtp_new_candidate_cb(PurpleMedia *media, gchar *sid, gchar *name, PurpleMediaCandidate *candidate, JingleSession *session)
 {
 	JingleContent *content = jingle_session_find_content(
-			session, sid, "initiator");
+			session, sid, NULL);
 	JingleTransport *transport;
 
 	purple_debug_info("jingle-rtp", "jingle_rtp_new_candidate_cb\n");
 
-	if (content == NULL)
-		content = jingle_session_find_content(
-			session, sid, "responder");
-
 	if (content == NULL) {
 		purple_debug_error("jingle-rtp",
 				"jingle_rtp_new_candidate_cb: "


More information about the Commits mailing list