From 228e1e735ce98142a5e814beaf2c7823a0f419c6 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 15 Apr 2010 12:34:02 -0500 Subject: [PATCH] Fix: Minor style issues --- src/sim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sim.c b/src/sim.c index 69e0a89e..bf285eef 100644 --- a/src/sim.c +++ b/src/sim.c @@ -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;