summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2023-01-10 16:40:41 -0600
committerJohn Klug <john.klug@multitech.com>2023-01-10 16:40:41 -0600
commita64a1538c6576eccfb841861cd9acf9b22c732d8 (patch)
tree00031ede7deeb96674eb000a336179f22ad32710 /src/utils.c
parentc97e4dad4fa1720cc510d44b404a1727907c22a5 (diff)
parent78a27efb55e1c509604fe9d96f8c421d6b1bda36 (diff)
downloadsms-utils-master.tar.gz
sms-utils-master.tar.bz2
sms-utils-master.zip
Merge branch 'sk/GP-1842/imsi-vzw-detection' into 'master' HEAD1.0.8master
[GP-1842] Update the Cellular code to use SIM IMSI for Verizon detection See merge request !14
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/utils.c b/src/utils.c
index 3a18487..37d0ac3 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -288,12 +288,12 @@ int device_unlock(int lock)
int indexOfChar(const char *array, int len, char character)
{
- int i;
-
- for (i = 0; i < len; i++) {
- if (array[i] == character) {
- return i;
- }
- }
- return -1;
+ int i;
+
+ for (i = 0; i < len; i++) {
+ if (array[i] == character) {
+ return i;
+ }
+ }
+ return -1;
}