diff options
author | Aki Niemi <aki.niemi@nokia.com> | 2010-12-22 17:47:11 +0200 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2010-12-22 17:47:11 +0200 |
commit | 4ca9022358cf84db98c550296ae969bceab14fa1 (patch) | |
tree | a2e624d2e2ca82716428c4c7efd106e2def6d3a0 /gisi/modem.c | |
parent | 374dd32812026c3d728f2a14f78357463f12a3f8 (diff) | |
download | ofono-4ca9022358cf84db98c550296ae969bceab14fa1.tar.bz2 |
gisi: Minor style fixes
Diffstat (limited to 'gisi/modem.c')
-rw-r--r-- | gisi/modem.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gisi/modem.c b/gisi/modem.c index 50c75a6a..ff06cf22 100644 --- a/gisi/modem.c +++ b/gisi/modem.c @@ -152,7 +152,8 @@ static void pending_dispatch(GIsiPending *pend, GIsiMessage *msg) ISIDBG(modem, "%s %s to %p [res=0x%02X, id=0x%02X, utid=0x%02X]", g_isi_msg_strerror(msg), pend_type_to_str(pend->type), pend, - g_isi_msg_resource(msg), g_isi_msg_id(msg), g_isi_msg_utid(msg)); + g_isi_msg_resource(msg), g_isi_msg_id(msg), + g_isi_msg_utid(msg)); pend->notify(msg, pend->data); } @@ -185,7 +186,8 @@ static void service_dispatch(GIsiServiceMux *mux, GIsiMessage *msg, * Some of these may be synthesized, but nevertheless need to * be removed. */ - if (pend->type < GISI_MESSAGE_TYPE_RESP && pend->msgid == msgid) { + if (pend->type < GISI_MESSAGE_TYPE_RESP + && pend->msgid == msgid) { pending_dispatch(pend, msg); @@ -725,7 +727,8 @@ GIsiPending *g_isi_request_vsendto(GIsiModem *modem, struct sockaddr_pn *dst, mux->pending = g_slist_prepend(mux->pending, resp); if (timeout > 0) - resp->timeout = g_timeout_add_seconds(timeout, resp_timeout, resp); + resp->timeout = g_timeout_add_seconds(timeout, resp_timeout, + resp); mux->last_utid = resp->utid; return resp; |