Mercurial > pidgin.yaz
changeset 29353:94a88e5bd3fc
Simplify
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 04 Feb 2010 02:17:38 +0000 |
parents | 7f5a406a3b50 |
children | 86ee7772936f |
files | libpurple/protocols/myspace/user.c |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/user.c Thu Feb 04 00:48:09 2010 +0000 +++ b/libpurple/protocols/myspace/user.c Thu Feb 04 02:17:38 2010 +0000 @@ -92,16 +92,13 @@ msim_find_user(MsimSession *session, const gchar *username) { PurpleBuddy *buddy; - MsimUser *user; buddy = purple_find_buddy(session->account, username); if (!buddy) { return NULL; } - user = msim_get_user_from_buddy(buddy, TRUE); - - return user; + return msim_get_user_from_buddy(buddy, TRUE); } /**