projects
/
platform
/
core
/
pim
/
contacts-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1efa29f
)
break loop
50/49950/1
author
Gukhwan Cho
<gh78.cho@samsung.com>
Thu, 8 Oct 2015 06:38:41 +0000
(15:38 +0900)
committer
Gukhwan Cho
<gh78.cho@samsung.com>
Thu, 22 Oct 2015 02:51:12 +0000
(11:51 +0900)
Change-Id: Iee553917ac795b69328b75b02b6dbfa0710aa386
Signed-off-by: Gukhwan Cho <gh78.cho@samsung.com>
server/ctsvc_number_utils.c
patch
|
blob
|
history
diff --git
a/server/ctsvc_number_utils.c
b/server/ctsvc_number_utils.c
index
a5a77cb
..
4abed71
100644
(file)
--- a/
server/ctsvc_number_utils.c
+++ b/
server/ctsvc_number_utils.c
@@
-318,9
+318,12
@@
char* ctsvc_get_network_cc(bool reload)
if (temp && 3 < strlen(temp))
temp[3] = '\0';
mcc = atoi(temp);
- for (i=0;i<sizeof(__mcc_cc_list)/sizeof(ctsvc_mcc_cc_map);i++)
- if (__mcc_cc_list[i].mcc == mcc)
+ for (i=0;i<sizeof(__mcc_cc_list)/sizeof(ctsvc_mcc_cc_map);i++)
{
+ if (__mcc_cc_list[i].mcc == mcc)
{
cc = __mcc_cc_list[i].cc;
+ break;
+ }
+ }
#endif
return cc;
}