/soc/2013/ashmew2/filetransferX: 7e5244c731ef: Cleaner purple_de...

Ashish Gupta ashmew2 at gmail.com
Mon Aug 5 22:48:25 EDT 2013


Changeset: 7e5244c731efcd909b0867e88a85151f9b5b1b47
Author:	 Ashish Gupta <ashmew2 at gmail.com>
Date:	 2013-08-06 07:42 +0530
Branch:	 filetransferX
URL: https://hg.pidgin.im/soc/2013/ashmew2/filetransferX/rev/7e5244c731ef

Description:

Cleaner purple_debug_info() log

diffstat:

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

diffs (36 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
@@ -1260,7 +1260,6 @@ jabber_google_session_parse(JabberStream
 
 	GList *iter = NULL;
 	
-	purple_debug_info("google_session", "inside jabber_google_session_parse\n");
 	if (type != JABBER_IQ_SET)
 		return;
 
@@ -1300,15 +1299,13 @@ jabber_google_session_parse(JabberStream
 		*/
 		if(js->google_share_sessions) {
 			GList *iter = js->google_share_sessions;
-			purple_debug_info("google_session", "js->google_share_sessions is NOT NULL.Looking for id=%s\n,ini=%s",id.id,id.initiator);
 
 			for(; iter; iter=iter->next) {
 				GoogleSession *gsession = (GoogleSession *)(iter->data);
-				purple_debug_info("google_session", "For iter, id.id = %s, id.initiator = %s\n",gsession->id.id,gsession->id.initiator);
+
 				if (!strcmp(id.id, gsession->id.id)) {
 					session = gsession;
 					/*TODO: This is probably insufficient, we need to tally id.initiator as well..Oh well..For now...*/
-					purple_debug_info("google_session", "Found appropriate GoogleSession\n");
 					break;
 					/*Found a GoogleSession*/
 				}
@@ -1317,7 +1314,6 @@ jabber_google_session_parse(JabberStream
 
 		/*if session!=NULL, it's a Share Session*/
 		if(session) {
-			purple_debug_info("google_session", "Calling parse_iq with Share Session.\n");
 			google_session_parse_iq(js, session, session_node, iq_id);
 			return;
 		}



More information about the Commits mailing list