pidgin.2.x.y: fb1db68d: Minor optimization

markdoliner at pidgin.im markdoliner at pidgin.im
Sat Dec 10 15:01:24 EST 2011


----------------------------------------------------------------------
Revision: fb1db68d12fdd99cfd7a899c1f62ef39a4fd85e3
Parent:   afb9ede3de989f217f03d5670cca00e628bd11f1
Author:   markdoliner at pidgin.im
Date:     12/06/11 01:58:41
Branch:   im.pidgin.pidgin.2.x.y
URL: http://d.pidgin.im/viewmtn/revision/info/fb1db68d12fdd99cfd7a899c1f62ef39a4fd85e3

Changelog: 

Minor optimization

Changes against parent afb9ede3de989f217f03d5670cca00e628bd11f1

  patched  libpurple/protocols/jabber/jingle/rtp.c

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/rtp.c	82797d1d6d25e5b34f9668847288b64596d0e91e
+++ libpurple/protocols/jabber/jingle/rtp.c	2656346b8bf03a7995ef995e7c2e154facdf905e
@@ -577,11 +577,12 @@ jingle_rtp_init_media(JingleContent *con
 	guint num_params;
 
 	/* maybe this create ought to just be in initiate and handle initiate */
-	if (media == NULL)
+	if (media == NULL) {
 		media = jingle_rtp_create_media(content);
 
-	if (media == NULL)
-		return FALSE;
+		if (media == NULL)
+			return FALSE;
+	}
 
 	name = jingle_content_get_name(content);
 	media_type = jingle_rtp_get_media_type(content);


More information about the Commits mailing list