pidgin: f20f2ac8: Something will have gone horribly wrong ...

markdoliner at pidgin.im markdoliner at pidgin.im
Tue Aug 4 04:25:32 EDT 2009


-----------------------------------------------------------------
Revision: f20f2ac8e487b30ef6a0de4c346bce92dbff7f9a
Ancestor: aa8467c55080364b3e303ee0376d4f4587c453ce
Author: markdoliner at pidgin.im
Date: 2009-08-04T08:16:09
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f20f2ac8e487b30ef6a0de4c346bce92dbff7f9a

Modified files:
        libpurple/protocols/yahoo/libymsg.c

ChangeLog: 

Something will have gone horribly wrong if data is NULL here, so don't
bother checking for it.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c	eaf6b4b92109907bc13fe78916c3d9bcdb24d27d
+++ libpurple/protocols/yahoo/libymsg.c	e455d893df61894cb972de575e11f0d7975a6daa
@@ -2586,8 +2586,7 @@ static void yahoo_p2p_init_cb(gpointer d
 	PurpleAccount *account;
 	YahooData *yd;
 
-	if(!(p2p_data = data))
-		return ;
+	p2p_data = data;
 	yd = p2p_data->gc->proto_data;
 
 	if(error_message != NULL) {


More information about the Commits mailing list