soc.2008.yahoo: ec4a5e39: f->p2p_packet_sent and f->p2p_status ini...

sulabh at soc.pidgin.im sulabh at soc.pidgin.im
Sat Jul 12 15:51:31 EDT 2008


-----------------------------------------------------------------
Revision: ec4a5e392a9c0f4fcde99d90a4dfa9a2b67ef48a
Ancestor: 56b0bbbcf08b4d493e78c1b091a7c2d198ca8ab5
Author: sulabh at soc.pidgin.im
Date: 2008-07-12T18:28:22
Branch: im.pidgin.soc.2008.yahoo
URL: http://d.pidgin.im/viewmtn/revision/info/ec4a5e392a9c0f4fcde99d90a4dfa9a2b67ef48a

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

ChangeLog: 

f->p2p_packet_sent and f->p2p_status initialization in yahoo_friend_new() redundant

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_friend.c	e5230ef0a5ae2157b59fe63f54638ea9f5996732
+++ libpurple/protocols/yahoo/yahoo_friend.c	aaa79a1b58850f099b567d97be629c2084fff795
@@ -35,8 +35,6 @@ static YahooFriend *yahoo_friend_new(voi
 	ret = g_new0(YahooFriend, 1);
 	ret->status = YAHOO_STATUS_OFFLINE;
 	ret->presence = YAHOO_PRESENCE_DEFAULT;
-	ret->p2p_packet_sent = 0;
-	ret->p2p_status = NOT_CONNECTED;
 
 	return ret;
 }


More information about the Commits mailing list