diff options
Diffstat (limited to 'commands-wms.c')
-rw-r--r-- | commands-wms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands-wms.c b/commands-wms.c index b85cd70..c5be0f0 100644 --- 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; |