soc.2008.yahoo: 8f561d35: if(p2p_data->source >= 0) in place of if...

sulabh at soc.pidgin.im sulabh at soc.pidgin.im
Sat Jul 12 15:50:59 EDT 2008


-----------------------------------------------------------------
Revision: 8f561d358761734ed0187f46d667edf52098d708
Ancestor: ec4a5e392a9c0f4fcde99d90a4dfa9a2b67ef48a
Author: sulabh at soc.pidgin.im
Date: 2008-07-12T18:33:15
Branch: im.pidgin.soc.2008.yahoo
URL: http://d.pidgin.im/viewmtn/revision/info/8f561d358761734ed0187f46d667edf52098d708

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

ChangeLog: 

if(p2p_data->source >= 0) in place of if(p2p_data->source)

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	7d21c91001dcfdc842cf21a93fa2f3fc52e339a2
+++ libpurple/protocols/yahoo/yahoo.c	d1998709672296ae8ac6a08c97c9c7be34a374ac
@@ -2278,7 +2278,7 @@ static void yahoo_p2p_disconnect_destroy
 	if (f)
 		yahoo_friend_set_p2p_status(f, NOT_CONNECTED);
 
-	if(p2p_data->source)
+	if(p2p_data->source >= 0)
 		close(p2p_data->source);
 	purple_input_remove(p2p_data->input_event);
 	g_free(p2p_data->host_ip);


More information about the Commits mailing list