Mercurial > pidgin
diff libpurple/protocols/yahoo/libymsg.c @ 27823:90b471ba5282
Something will have gone horribly wrong if data is NULL here, so don't
bother checking for it.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 04 Aug 2009 08:16:09 +0000 |
parents | 44930be7114b |
children | 5f49b2dd8f9b 35f3a79045a6 fb99a0067812 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c Tue Aug 04 08:14:41 2009 +0000 +++ b/libpurple/protocols/yahoo/libymsg.c Tue Aug 04 08:16:09 2009 +0000 @@ -2586,8 +2586,7 @@ PurpleAccount *account; YahooData *yd; - if(!(p2p_data = data)) - return ; + p2p_data = data; yd = p2p_data->gc->proto_data; if(error_message != NULL) {