/soc/2013/ashmew2/filetransferX: 6f4b98508762: a bit cleaner

Ashish Gupta ashmew2 at gmail.com
Wed Aug 7 21:49:08 EDT 2013


Changeset: 6f4b98508762aa518f3630d81a75a8dfffca20d1
Author:	 Ashish Gupta <ashmew2 at gmail.com>
Date:	 2013-08-08 04:29 +0530
Branch:	 filetransferX
URL: https://hg.pidgin.im/soc/2013/ashmew2/filetransferX/rev/6f4b98508762

Description:

a bit cleaner

diffstat:

 libpurple/protocols/jabber/google/google_session.c |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (41 lines):

diff --git a/libpurple/protocols/jabber/google/google_session.c b/libpurple/protocols/jabber/google/google_session.c
--- a/libpurple/protocols/jabber/google/google_session.c
+++ b/libpurple/protocols/jabber/google/google_session.c
@@ -809,7 +809,7 @@ google_session_handle_candidates(JabberS
 		transport = xmlnode_get_child(sess, "transport");
 		cand_parent = transport;
 	}
-	purple_debug_info("google_session", "Inside google_session_handle_candidiates(), share is %d\n",session_data->share);
+	purple_debug_info("google_session", "Inside google_session_handle_candidiates()\n");
 
 	for (cand = xmlnode_get_child(cand_parent, "candidate"); cand;
 	     cand = xmlnode_get_next_twin(cand)) {
@@ -822,12 +822,10 @@ google_session_handle_candidates(JabberS
 		const gchar *preference = xmlnode_get_attrib(cand, "preference");
 		guint component_id;
 		
-		purple_debug_info("google_session", "Inside the for cand = loop\n");
 		if (cname && type && address && port) {
 			PurpleMediaCandidateType candidate_type;
 			guint prio = preference ? g_ascii_strtod(preference, NULL) * 1000 : 0;
 			
-			purple_debug_info("purple_debug_info", "inside the if block..\n");
 			g_snprintf(n, sizeof(n), "S%d", name++);
 
 			if (g_str_equal(type, "local"))
@@ -903,7 +901,6 @@ google_session_handle_candidates(JabberS
 	jabber_iq_set_id(result, iq_id);
 	xmlnode_set_attrib(result->node, "to", session->remote_jid);
 	jabber_iq_send(result);
-	purple_debug_info("google_session", "End of handle_candidates().\n");
 }
 
 static void
@@ -914,7 +911,6 @@ google_session_handle_transport_accept(J
 	xmlnode_set_attrib(result_iq->node, "to", session->remote_jid);
 	jabber_iq_set_id(result_iq, iq_id);
 	jabber_iq_send(result_iq);
-
 }
 
 static void



More information about the Commits mailing list