Changeset 3058c30


Ignore:
Timestamp:
2015-04-10T17:10:41Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
cd5fdcf
Parents:
73b1a8e
git-author:
dequis <dx@…> (19-03-15 10:29:43)
git-committer:
dequis <dx@…> (10-04-15 17:10:41)
Message:

msn_set_away: fix strcmp check for idle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.c

    r73b1a8e r3058c30  
    186186        nick = set_getstr(&ic->acc->set, "display_name");
    187187        psm = message ? message : "";
    188         idle = strcmp(statecode, "IDL") ? "false" : "true";
     188        idle = (strcmp(statecode, "IDL") == 0) ? "false" : "true";
    189189
    190190        body = g_markup_printf_escaped(MSN_PUT_USER_BODY,
Note: See TracChangeset for help on using the changeset viewer.