# HG changeset patch # User Elliott Sales de Andrade # Date 1275287717 0 # Node ID 8136ca038c0b2b0de8878955d12f1fb00f5088e7 # Parent 0a1c592dc440057eb1b4eca35eea5c4654c45769 Remove some extra variables. diff -r 0a1c592dc440 -r 8136ca038c0b libpurple/protocols/msn/notification.c --- a/libpurple/protocols/msn/notification.c Sun May 30 15:11:50 2010 +0000 +++ b/libpurple/protocols/msn/notification.c Mon May 31 06:35:17 2010 +0000 @@ -1572,7 +1572,7 @@ PurpleAccount *account; MsnUser *user; const char *passport; - char *psm_str, *str; + char *str; session = cmdproc->session; account = session->account; @@ -1580,7 +1580,7 @@ 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 @@ } 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);