diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-03-31 22:40:51 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-03-31 22:48:13 +0200 |
commit | 05951ff716f62b05da40fef1aa1f82e2fa9d2601 (patch) | |
tree | c5b0f5ccc481a6ba031e09ecd6a143601d512dca /net.c | |
parent | 43b201403d470c0c6650e33a9811b808f5b126d6 (diff) | |
download | hardware_ril_samsung-ril-05951ff716f62b05da40fef1aa1f82e2fa9d2601.zip hardware_ril_samsung-ril-05951ff716f62b05da40fef1aa1f82e2fa9d2601.tar.gz hardware_ril_samsung-ril-05951ff716f62b05da40fef1aa1f82e2fa9d2601.tar.bz2 |
Coding style: add spaces around equal sign in for statements
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -244,7 +244,7 @@ void ril_plmn_string(char *plmn_data, char *response[3]) LOGD("Found %d plmn records", plmn_entries); - for (i=0 ; i < plmn_entries ; i++) { + for (i = 0 ; i < plmn_entries ; i++) { if (plmn_list[i].mcc == mcc && plmn_list[i].mnc == mnc) { asprintf(&response[0], "%s", plmn_list[i].operator_long); asprintf(&response[1], "%s", plmn_list[i].operator_short); @@ -729,7 +729,7 @@ void ipc_net_plmn_list(struct ipc_message_info *info) response = (char **) calloc(1, length); count = 0; - for (i=0 ; i < entries_info->num ; i++) { + for (i = 0 ; i < entries_info->num ; i++) { // Assumed type for 'emergency only' PLMNs if (entries[i].type == 0x01) continue; @@ -759,7 +759,7 @@ void ipc_net_plmn_list(struct ipc_message_info *info) length = sizeof(char *) * 4 * count; ril_request_complete(ril_request_get_token(info->aseq), RIL_E_SUCCESS, response, length); - for (i=0 ; i < entries_info->num ; i++) + for (i = 0 ; i < entries_info->num ; i++) if (response[i] != NULL) free(response[i]); |