pidgin: 464fb4a5: Remove some extra variables.
qulogic at pidgin.im
qulogic at pidgin.im
Mon May 31 02:55:50 EDT 2010
-----------------------------------------------------------------
Revision: 464fb4a5f74b2f201eff0ddd41d7fe95e905b51f
Ancestor: f0ff1be99607ed4c9380b8a4f2da0549ea65f7cd
Author: qulogic at pidgin.im
Date: 2010-05-31T06:35:17
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/464fb4a5f74b2f201eff0ddd41d7fe95e905b51f
Modified files:
libpurple/protocols/msn/notification.c
ChangeLog:
Remove some extra variables.
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c 96e2dea68635eefb85d3eeac2f5f0d6b2de53839
+++ libpurple/protocols/msn/notification.c 973bcd54133e6302e1e737e948b7d908d49f9dd3
@@ -1572,7 +1572,7 @@ ubx_cmd_post(MsnCmdProc *cmdproc, MsnCom
PurpleAccount *account;
MsnUser *user;
const char *passport;
- char *psm_str, *str;
+ char *str;
session = cmdproc->session;
account = session->account;
@@ -1580,7 +1580,7 @@ ubx_cmd_post(MsnCmdProc *cmdproc, MsnCom
passport = cmd->params[0];
user = msn_userlist_find_user(session->userlist, passport);
if (user == NULL) {
- char *str = g_strndup(payload, len);
+ str = g_strndup(payload, len);
purple_debug_info("msn", "unknown user %s, payload is %s\n",
passport, str);
g_free(str);
@@ -1598,9 +1598,9 @@ ubx_cmd_post(MsnCmdProc *cmdproc, MsnCom
}
if (len != 0) {
- psm_str = msn_get_psm(cmd->payload,len);
- msn_user_set_statusline(user, psm_str);
- g_free(psm_str);
+ str = msn_get_psm(cmd->payload,len);
+ msn_user_set_statusline(user, str);
+ g_free(str);
str = msn_get_currentmedia(cmd->payload, len);
parse_currentmedia(user, str);
More information about the Commits
mailing list