# HG changeset patch # User Elliott Sales de Andrade # Date 1244337696 0 # Node ID 8ab2309dfd68a364ac5b1cbea8404f748187c020 # Parent 08c6a0c88b2b95272a8033e84c32033c6acb60a3 These strcmp checks are for equality, meaning a return of 0. diff -r 08c6a0c88b2b -r 8ab2309dfd68 libpurple/protocols/msn/state.c --- a/libpurple/protocols/msn/state.c Sun Jun 07 00:27:05 2009 +0000 +++ b/libpurple/protocols/msn/state.c Sun Jun 07 01:21:36 2009 +0000 @@ -305,9 +305,9 @@ if (strcmp(client_type, "phone") == 0 || strcmp(client_type, "handheld") == 0) { caps |= MSN_CLIENT_CAP_WIN_MOBILE; - } else if (strcmp(client_type, "web")) { + } else if (strcmp(client_type, "web") == 0) { caps |= MSN_CLIENT_CAP_WEBMSGR; - } else if (strcmp(client_type, "bot")) { + } else if (strcmp(client_type, "bot") == 0) { caps |= MSN_CLIENT_CAP_BOT; } /* MSN doesn't a "console" type...