cpw.qulogic.msnp16: e6ace784: Fix this inverted logic. Disconnect the ...

masca at cpw.pidgin.im masca at cpw.pidgin.im
Thu Feb 4 16:06:26 EST 2010


-----------------------------------------------------------------
Revision: e6ace7846db00912f6ec2e90b3a09c03f4c7ba5e
Ancestor: c1d04a0ea8f286a66248d97e429c609897e7abaf
Author: masca at cpw.pidgin.im
Date: 2010-02-04T20:54:09
Branch: im.pidgin.cpw.qulogic.msnp16
URL: http://d.pidgin.im/viewmtn/revision/info/e6ace7846db00912f6ec2e90b3a09c03f4c7ba5e

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

ChangeLog: 


Fix this inverted logic. Disconnect the selected endpoints as said in the field label.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/msn.c	be2a75c3241762f574d3ac8371e85c0a73a19f69
+++ libpurple/protocols/msn/msn.c	258c563224659d13105867beefa899697d311eb8
@@ -391,7 +391,7 @@ update_endpoint_cb(MsnLocationData *data
 		PurpleRequestField *field = others->data;
 		if (purple_request_field_get_type(field) != PURPLE_REQUEST_FIELD_BOOLEAN)
 			continue;
-		if (!purple_request_field_bool_get_value(field)) {
+		if (purple_request_field_bool_get_value(field)) {
 			const char *id = purple_request_field_get_id(field);
 			char *user;
 			purple_debug_info("msn", "Disconnecting Endpoint %s\n", id);


More information about the Commits mailing list