diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-02-09 10:51:13 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-02-09 10:51:13 +0100 |
commit | e1a4eb9c0632d60ad96c685330202593775bb716 (patch) | |
tree | c90b6c5c7092100d5eff1e81daab9df3d40679a2 /sat.c | |
parent | f53bf346ed8a843414a339646b9362d4015bfc25 (diff) | |
download | hardware_replicant_libsamsung-ril-e1a4eb9c0632d60ad96c685330202593775bb716.tar.gz hardware_replicant_libsamsung-ril-e1a4eb9c0632d60ad96c685330202593775bb716.tar.bz2 hardware_replicant_libsamsung-ril-e1a4eb9c0632d60ad96c685330202593775bb716.zip |
Change coding style: add a space after if, for and while
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'sat.c')
-rw-r--r-- | sat.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -67,7 +67,7 @@ void ipc_sat_proactive_cmd_sol(struct ipc_message_info *info) sw1 = ((unsigned char*)info->data)[0]; sw2 = ((unsigned char*)info->data)[1]; - if(sw1 == 0x90 && sw2 == 0x00) { + if (sw1 == 0x90 && sw2 == 0x00) { ril_request_unsolicited(RIL_UNSOL_STK_SESSION_END, NULL, 0); } else { LOGE("%s: unhandled response sw1=%02x sw2=%02x", __FUNCTION__, sw1, sw2); @@ -79,9 +79,9 @@ void ipc_sat_proactive_cmd_sol(struct ipc_message_info *info) */ void ipc_sat_proactive_cmd(struct ipc_message_info *info) { - if(info->type == IPC_TYPE_INDI) { + if (info->type == IPC_TYPE_INDI) { ipc_sat_proactive_cmd_unsol(info); - } else if(info->type == IPC_TYPE_RESP) { + } else if (info->type == IPC_TYPE_RESP) { ipc_sat_proactive_cmd_sol(info); } else { LOGE("%s: unhandled proactive command response type %d",__func__, info->type); @@ -100,7 +100,7 @@ void ril_request_stk_send_terminal_response(RIL_Token t, void *data, size_t data unsigned char buf[264]; int len = (strlen(data) / 2); - if(len > 255) { + if (len > 255) { LOGE("%s: data exceeds maximum length", __FUNCTION__); ril_request_complete(t, RIL_E_GENERIC_FAILURE, NULL, 0); } @@ -127,7 +127,7 @@ void ril_request_stk_send_envelope_command(RIL_Token t, void *data, size_t datal unsigned char buf[264]; int len = (strlen(data) / 2); - if(len > 255) { + if (len > 255) { LOGE("%s: data exceeds maximum length", __FUNCTION__); ril_request_complete(t, RIL_E_GENERIC_FAILURE, NULL, 0); } |