Fix: Minor style issues

This commit is contained in:
Denis Kenzior 2010-04-15 12:34:02 -05:00
parent c63b2c9d44
commit 228e1e735c
1 changed files with 2 additions and 2 deletions

View File

@ -1878,9 +1878,9 @@ void ofono_sim_inserted_notify(struct ofono_sim *sim, ofono_bool_t inserted)
ofono_sim_state_event_notify_cb_t notify;
GSList *l;
if (inserted && sim->state == OFONO_SIM_STATE_NOT_PRESENT)
if (inserted == TRUE && sim->state == OFONO_SIM_STATE_NOT_PRESENT)
sim->state = OFONO_SIM_STATE_INSERTED;
else if (!inserted && sim->state != OFONO_SIM_STATE_NOT_PRESENT)
else if (inserted == FALSE && sim->state != OFONO_SIM_STATE_NOT_PRESENT)
sim->state = OFONO_SIM_STATE_NOT_PRESENT;
else
return;