diff options
author | Aki Niemi <aki.niemi@nokia.com> | 2011-02-02 10:45:44 +0200 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2011-02-02 11:03:21 +0200 |
commit | 9f619fd467e9840daa358e97ce344a3aa03f5a60 (patch) | |
tree | f901d0a31340665f40f9b636fb892f9c91c2b926 /src/call-settings.c | |
parent | 352795aba6b9662b3d7f2171e8a1de5dc205038c (diff) | |
download | ofono-9f619fd467e9840daa358e97ce344a3aa03f5a60.tar.bz2 |
call-settings: Fix style issues
Diffstat (limited to 'src/call-settings.c')
-rw-r--r-- | src/call-settings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/call-settings.c b/src/call-settings.c index 8dd25648..ede1a883 100644 --- a/src/call-settings.c +++ b/src/call-settings.c @@ -868,7 +868,7 @@ static void cs_register_ss_controls(struct ofono_call_settings *cs) __ofono_ussd_ssc_register(cs->ussd, "43", cw_ss_control, cs, NULL); - if (cs->driver->colr_query) + if (cs->driver->colr_query != NULL) __ofono_ussd_ssc_register(cs->ussd, "77", clip_cnap_colp_colr_ss, cs, NULL); } @@ -882,7 +882,7 @@ static void cs_unregister_ss_controls(struct ofono_call_settings *cs) __ofono_ussd_ssc_unregister(cs->ussd, "43"); - if (cs->driver->colr_query) + if (cs->driver->colr_query != NULL) __ofono_ussd_ssc_unregister(cs->ussd, "77"); } @@ -1388,7 +1388,7 @@ static void call_settings_remove(struct ofono_atom *atom) if (cs == NULL) return; - if (cs->driver && cs->driver->remove) + if (cs->driver != NULL && cs->driver->remove != NULL) cs->driver->remove(cs); g_free(cs); |