pidgin: 0ec011ef: Minor whitespace changes
markdoliner at pidgin.im
markdoliner at pidgin.im
Thu Mar 18 04:11:54 EDT 2010
-----------------------------------------------------------------
Revision: 0ec011efe002bcfa6914018714ab395e7ad42e52
Ancestor: 182921a907be1010df1892d7b97b1b7edc3ffec6
Author: markdoliner at pidgin.im
Date: 2010-03-18T08:08:43
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/0ec011efe002bcfa6914018714ab395e7ad42e52
Modified files:
libpurple/protocols/oscar/oscar.c
ChangeLog:
Minor whitespace changes
-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c f257dd0e4105ccad11ef13233dd6f487e42a230d
+++ libpurple/protocols/oscar/oscar.c cb94f4738fb9d8e58b6f557716d8a158dc2459d6
@@ -480,7 +480,7 @@ purple_plugin_oscar_decode_im_part(Purpl
charsetstr1 = "UTF-8";
charsetstr2 = purple_account_get_string(account, "encoding", OSCAR_DEFAULT_CUSTOM_ENCODING);
}
-
+
purple_debug_info("oscar", "Parsing IM part, charset=0x%04hx, charsubset=0x%04hx, datalen=%" G_GSIZE_FORMAT ", choice1=%s, choice2=%s, choice3=%s\n",
charset, charsubset, datalen, charsetstr1, charsetstr2, (charsetstr3 ? charsetstr3 : ""));
@@ -3331,9 +3331,9 @@ static int purple_parse_clientauto_ch4(O
/* Split at (carriage return/newline)'s, then rejoin later with BRs between. */
statusmsg = oscar_icqstatus(state);
splitmsg = g_strsplit(msg, "\r\n", 0);
-
+
user_info = purple_notify_user_info_new();
-
+
purple_notify_user_info_add_pair(user_info, _("UIN"), who);
purple_notify_user_info_add_pair(user_info, _("Status"), statusmsg);
purple_notify_user_info_add_section_break(user_info);
@@ -4758,8 +4758,8 @@ oscar_send_im(PurpleConnection *gc, cons
img = purple_buddy_icons_find_account_icon(account);
if (img) {
gconstpointer data = purple_imgstore_get_data(img);
- args.iconlen = purple_imgstore_get_size(img);
- args.iconsum = aimutil_iconsum(data, args.iconlen);
+ args.iconlen = purple_imgstore_get_size(img);
+ args.iconsum = aimutil_iconsum(data, args.iconlen);
args.iconstamp = purple_buddy_icons_get_account_icon_timestamp(account);
if ((args.iconlen != bi->ico_me_len) || (args.iconsum != bi->ico_me_csum) || (args.iconstamp != bi->ico_me_time)) {
@@ -5368,7 +5368,7 @@ static int purple_ssi_parselist(OscarDat
{ /* If not in server list then prune from local list */
GSList *cur, *next;
GSList *buddies = purple_find_buddies(account, NULL);
-
+
/* Buddies */
cur = NULL;
@@ -6389,7 +6389,7 @@ oscar_status_types(PurpleAccount *accoun
purple_value_new(PURPLE_TYPE_STRING), NULL);
status_types = g_list_prepend(status_types, type);
-
+
type = purple_status_type_new_with_attrs(PURPLE_STATUS_AVAILABLE,
OSCAR_STATUS_ID_EVIL,
_("Evil"), TRUE, is_icq, FALSE,
@@ -6651,23 +6651,22 @@ oscar_close_directim(gpointer object, gp
* window. Let the user know that we canceled the Direct IM. */
conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, name);
purple_conversation_write(conv, NULL, _("You closed the connection."),
- PURPLE_MESSAGE_SYSTEM, time(NULL));
+ PURPLE_MESSAGE_SYSTEM, time(NULL));
}
}
-static void oscar_get_icqxstatusmsg (PurpleBlistNode *node, gpointer ignore)
+static void oscar_get_icqxstatusmsg(PurpleBlistNode *node, gpointer ignore)
{
PurpleBuddy *buddy;
PurpleConnection *gc;
PurpleAccount *account;
-
-
+
g_return_if_fail(PURPLE_BLIST_NODE_IS_BUDDY(node));
buddy = (PurpleBuddy *)node;
gc = purple_account_get_connection(buddy->account);
account = purple_connection_get_account(gc);
- purple_debug_info("oscar", "Manual X-Status Get From %s to %s:\n", purple_buddy_get_name(buddy), account->username);
+ purple_debug_info("oscar", "Manual X-Status Get From %s to %s:\n", purple_buddy_get_name(buddy), account->username);
icq_im_xstatus_request(gc->proto_data, purple_buddy_get_name(buddy));
}
More information about the Commits
mailing list