diff options
author | PaulK <contact@paulk.fr> | 2011-12-29 14:47:34 +0100 |
---|---|---|
committer | PaulK <contact@paulk.fr> | 2011-12-29 14:47:34 +0100 |
commit | b2c23f06ffb49f4a9f342c39928c41882d96e282 (patch) | |
tree | 885bf0ee0968a2016e14c5e944cace070c88306b /net.c | |
parent | 16fd5fb67ba755fa65253eaaf861f46dc1135147 (diff) | |
download | hardware_replicant_libsamsung-ril-b2c23f06ffb49f4a9f342c39928c41882d96e282.tar.gz hardware_replicant_libsamsung-ril-b2c23f06ffb49f4a9f342c39928c41882d96e282.tar.bz2 hardware_replicant_libsamsung-ril-b2c23f06ffb49f4a9f342c39928c41882d96e282.zip |
Added preliminary data support
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -160,8 +160,10 @@ void ipc2ril_reg_state_resp(struct ipc_net_regist *netinfo, char *response[15]) asprintf(&response[0], "%d", reg_state); asprintf(&response[1], "%x", netinfo->lac); asprintf(&response[2], "%x", netinfo->cid); - if(act) + if(act > 0) asprintf(&response[3], "%d", act); + else + response[3] = NULL; } /** |