summaryrefslogtreecommitdiffstats
path: root/src/ctm.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-11-26 12:55:50 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-11-26 13:08:48 -0600
commite773625ce5df037e67829c98a4bd12c07c8c111d (patch)
treecc108d0e6306587db560a2a355b6445b099d19ba /src/ctm.c
parentf41d00f332aa5858ccc9b9190a37551c55fc1cd3 (diff)
downloadofono-e773625ce5df037e67829c98a4bd12c07c8c111d.tar.bz2
ctm: fix minor style issues
Diffstat (limited to 'src/ctm.c')
-rw-r--r--src/ctm.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ctm.c b/src/ctm.c
index 1d683dfd..1df34c2b 100644
--- a/src/ctm.c
+++ b/src/ctm.c
@@ -132,7 +132,7 @@ static void ctm_query_enabled_callback(const struct ofono_error *error,
reply = ctm_get_properties_reply(ctm->pending, ctm);
__ofono_dbus_pending_reply(&ctm->pending, reply);
- if (ctm->enabled ^ enabled_old)
+ if (ctm->enabled != enabled_old)
ctm_signal_enabled(ctm);
}
@@ -264,9 +264,8 @@ static void text_telephony_remove(struct ofono_atom *atom)
}
struct ofono_ctm *ofono_ctm_create(struct ofono_modem *modem,
- unsigned int vendor,
- const char *driver,
- void *data)
+ unsigned int vendor,
+ const char *driver, void *data)
{
struct ofono_ctm *ctm;
GSList *l;
@@ -322,8 +321,7 @@ void ofono_ctm_remove(struct ofono_ctm *ctm)
__ofono_atom_free(ctm->atom);
}
-void ofono_ctm_set_data(struct ofono_ctm *ctm,
- void *data)
+void ofono_ctm_set_data(struct ofono_ctm *ctm, void *data)
{
ctm->driver_data = data;
}