diff options
author | John Klug <john.klug@multitech.com> | 2023-01-10 16:40:41 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2023-01-10 16:40:41 -0600 |
commit | a64a1538c6576eccfb841861cd9acf9b22c732d8 (patch) | |
tree | 00031ede7deeb96674eb000a336179f22ad32710 /src/utils.c | |
parent | c97e4dad4fa1720cc510d44b404a1727907c22a5 (diff) | |
parent | 78a27efb55e1c509604fe9d96f8c421d6b1bda36 (diff) | |
download | sms-utils-master.tar.gz sms-utils-master.tar.bz2 sms-utils-master.zip |
[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.c | 16 |
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; } |