cpw.darkrain42.irc: 43e4b0aa: Whitespace removal.

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun Jul 12 17:30:26 EDT 2009


-----------------------------------------------------------------
Revision: 43e4b0aa6091d1ac4d9182a620e8b8787a449e12
Ancestor: b1d87ddb17a41c811f20b47e71402f9c38c51f97
Author: darkrain42 at pidgin.im
Date: 2009-07-12T19:23:41
Branch: im.pidgin.cpw.darkrain42.irc
URL: http://d.pidgin.im/viewmtn/revision/info/43e4b0aa6091d1ac4d9182a620e8b8787a449e12

Modified files:
        libpurple/protocols/irc/msgs.c

ChangeLog: 

Whitespace removal.

-------------- next part --------------
============================================================
--- libpurple/protocols/irc/msgs.c	279dad4841bdb83c242f71cde1527bdc43fbd2e6
+++ libpurple/protocols/irc/msgs.c	32ae6bab9cfee3130d45dceb323a030add5da370
@@ -407,12 +407,12 @@ void irc_msg_who(struct irc_conn *irc, c
 		PurpleConversation *conv;
 		PurpleConvChat *chat;
 		PurpleConvChatBuddy *cb;
-		
+
 		char *userhost, *realname;
-		
+
 		PurpleConvChatBuddyFlags flags;
 		GList *keys = NULL, *values = NULL;
-		
+
 		conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_CHAT, args[1], irc->account);
 		if (!conv) {
 			purple_debug(PURPLE_DEBUG_ERROR, "irc", "Got a WHO response for %s, which doesn't exist\n", args[1]);
@@ -426,26 +426,26 @@ void irc_msg_who(struct irc_conn *irc, c
 		}
 
 		chat = PURPLE_CONV_CHAT(conv);
-		
+
 		userhost = g_strdup_printf("%s@%s", args[2], args[3]);
 		realname = g_strdup(args[8]);
-		
+
 		keys = g_list_prepend(keys, "userhost");
 		values = g_list_prepend(values, userhost);
-		
+
 		keys = g_list_prepend(keys, "realname");
 		values = g_list_prepend(values, realname);
-		
+
 		purple_conv_chat_cb_set_attributes(chat, cb, keys, values);
-		
+
 		g_list_free(keys);
 		g_list_free(values);
-		
+
 		g_free(userhost);
 		g_free(realname);
-		
+
 		flags = cb->flags;
-		
+
 		// (G|H)...
 		if (args[6][0] == 'G' && !(flags & PURPLE_CBFLAGS_AWAY)) {
 			purple_conv_chat_user_set_flags(chat, cb->name, flags | PURPLE_CBFLAGS_AWAY);
@@ -492,8 +492,8 @@ void irc_msg_list(struct irc_conn *irc, 
 		g_free(topic);
 		purple_roomlist_room_add(irc->roomlist, room);
 	}
-}
 
+
 void irc_msg_topic(struct irc_conn *irc, const char *name, const char *from, char **args)
 {
 	char *chan, *topic, *msg, *nick, *tmp, *tmp2;
@@ -866,12 +866,12 @@ void irc_msg_join(struct irc_conn *irc, 
 		}
 		purple_conversation_set_data(convo, IRC_NAMES_FLAG,
 					   GINT_TO_POINTER(FALSE));
-		
+
 		// Get the real name and user host for all participants.
 		buf = irc_format(irc, "vc", "WHO", args[0]);
 		irc_send(irc, buf);
 		g_free(buf);
-		
+
 		/* Until purple_conversation_present does something that
 		 * one would expect in Pidgin, this call produces buggy
 		 * behavior both for the /join and auto-join cases. */
@@ -888,15 +888,15 @@ void irc_msg_join(struct irc_conn *irc, 
 
 	userhost = irc_mask_userhost(from);
 	chat = PURPLE_CONV_CHAT(convo);
-	
+
 	purple_conv_chat_add_user(chat, nick, userhost, PURPLE_CBFLAGS_NONE, TRUE);
-	
+
 	cb = purple_conv_chat_cb_find(chat, nick);
-	
+
 	if (cb) {
 		purple_conv_chat_cb_set_attribute(chat, cb, "userhost", userhost);
 	}
-	
+
 	if ((ib = g_hash_table_lookup(irc->buddies, nick)) != NULL) {
 		ib->flag = TRUE;
 		irc_buddy_status(nick, ib, irc);


More information about the Commits mailing list