projects
/
project
/
uqmi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix logical expression which is always true
[project/uqmi.git]
/
commands-wms.c
diff --git
a/commands-wms.c
b/commands-wms.c
index
b85cd70
..
c5be0f0
100644
(file)
--- a/
commands-wms.c
+++ b/
commands-wms.c
@@
-560,7
+560,7
@@
pdu_encode_number(unsigned char *dest, const char *str, bool smsc)
}
for (i = 0; str[i]; i++) {
- if (str[i] >= '0'
||
str[i] <= '9')
+ if (str[i] >= '0'
&&
str[i] <= '9')
continue;
ascii = true;