Changeset 68198e9


Ignore:
Timestamp:
2010-03-07T00:31:34Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
63770b4
Parents:
58adb7e
Message:

Two more fixes in OSCAR to avoid NULL pointers being passed to
g_strcasecmp().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    r58adb7e r68198e9  
    19541954static void oscar_set_away_aim(struct im_connection *ic, struct oscar_data *od, const char *state, const char *message)
    19551955{
     1956        if (state == NULL)
     1957                state = "";
    19561958
    19571959        if (!g_strcasecmp(state, _("Visible"))) {
     
    20062008        }
    20072009
    2008         if (!g_strcasecmp(state, "Online")) {
     2010        if (state == NULL) {
    20092011                aim_setextstatus(od->sess, od->conn, AIM_ICQ_STATE_NORMAL);
    20102012        } else if (!g_strcasecmp(state, "Away")) {
Note: See TracChangeset for help on using the changeset viewer.