FreeCalypso > hg > fc-tourmaline
diff src/ui/mfw/mfw_nma.c @ 188:92abb46dc1ba
src/ui/mfw/*.[ch]: rm trailing white space
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 19 Jan 2021 06:10:27 +0000 |
parents | 67bfe9f274f6 |
children |
line wrap: on
line diff
--- a/src/ui/mfw/mfw_nma.c Tue Jan 19 05:41:26 2021 +0000 +++ b/src/ui/mfw/mfw_nma.c Tue Jan 19 06:10:27 2021 +0000 @@ -209,7 +209,7 @@ return FALSE; /* normal processing of ACI */ case MMREG_INFO_IND: - + /* send this NITZ information to MMI */ TRACE_FUNCTION(" case MMREG_INFO_IND: "); @@ -229,7 +229,7 @@ memcpy (&(mmr_nitz_ind->time), &(gmmreg_info_ind->net_time), sizeof(T_net_time)); - + nm_nitz_info_ind(* mmr_nitz_ind ); return FALSE; /* normal processing of ACI */ } @@ -279,7 +279,7 @@ #ifdef GPRS case GMMREG_INFO_IND: TRACE_FUNCTION(" case GMMREG_INFO_IND: "); - + gmmreg_info_ind= (T_GMMREG_INFO_IND *)data; memcpy (&(mmr_nitz_ind.plmn), &(gmmreg_info_ind->plmn), sizeof(T_plmn)); @@ -289,7 +289,7 @@ memcpy (&(mmr_nitz_ind.ntz), &(gmmreg_info_ind->net_time_zone),sizeof (T_ntz)); memcpy (&(mmr_nitz_ind.time), &(gmmreg_info_ind->net_time), sizeof(T_time)); - + nm_nitz_info_ind(&mmr_nitz_ind); return FALSE; /* normal processing of ACI */ #endif @@ -346,7 +346,7 @@ switch (format) { case COPS_FRMT_Numeric: -#ifndef NEPTUNE_BOARD +#ifndef NEPTUNE_BOARD strcpy ((char *)numeric_name, (char *)oper); found = cmhMM_FindNumeric (&plmnDesc, (char *)oper); if (found) @@ -486,8 +486,8 @@ else numeric_name[5] = ( network_entry->mnc & 0xf) + '0'; numeric_name[6] = '\0'; /* 3-digit-MNC */ - - if (network_entry->longName) + + if (network_entry->longName) { long_name->len = MINIMUM(LONG_NAME-1, strlen((char *)network_entry->longName)); memcpy (long_name->data, network_entry->longName, long_name->len); @@ -503,7 +503,7 @@ GLOBAL void sAT_PlusCOPSE(UBYTE *oper, UBYTE format, UBYTE *long_name, UBYTE *short_name, UBYTE *numeric_name) { -#ifndef NEPTUNE_BOARD +#ifndef NEPTUNE_BOARD T_OPER_ENTRY plmnDesc; BOOL found; #else @@ -571,7 +571,7 @@ numeric_name[6] = '\0'; /* 3-digit-MNC */ strncpy ((char *)short_name, plmnDesc.shrtName, SHORT_NAME-1); - short_name[SHORT_NAME-1] = '\0'; + short_name[SHORT_NAME-1] = '\0'; } #else network_entry = cmhMM_FindName ((char *)oper, COPS_FRMT_Long); @@ -591,7 +591,7 @@ if (network_entry->shrtName) { strncpy ((char *)short_name, (char *)network_entry->shrtName, SHORT_NAME-1); - short_name[SHORT_NAME-1] = '\0'; + short_name[SHORT_NAME-1] = '\0'; } } #endif @@ -601,7 +601,7 @@ if (oper) { strncpy ((char *)short_name, (char *)oper, SHORT_NAME-1); - short_name[SHORT_NAME-1] = '\0'; + short_name[SHORT_NAME-1] = '\0'; } #ifndef NEPTUNE_BOARD found = cmhMM_FindName (&plmnDesc, (char *)oper, COPS_FRMT_Short); @@ -636,7 +636,7 @@ numeric_name[5] = ( network_entry->mnc & 0xf) + '0'; numeric_name[6] = '\0'; /* 3-digit-MNC */ - if (network_entry->longName) + if (network_entry->longName) { strncpy ((char *)long_name, (char *)network_entry->longName, LONG_NAME-1); long_name[LONG_NAME-1] = '\0';