From e27491dffbe24c398c7e682239d9a3044053908e Mon Sep 17 00:00:00 2001 From: PaulK Date: Thu, 29 Dec 2011 15:31:34 +0100 Subject: Send back network type anyway --- net.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'net.c') diff --git a/net.c b/net.c index b05c9fc..6816ce1 100644 --- a/net.c +++ b/net.c @@ -160,10 +160,7 @@ 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 > 0) - asprintf(&response[3], "%d", act); - else - response[3] = NULL; + asprintf(&response[3], "%d", act); } /** -- cgit v1.2.3