summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index caedd89..c41a614 100644
--- a/src/util.c
+++ b/src/util.c
@@ -164,7 +164,7 @@ const char* escape_essid(const char *s) {
for (i = s, o = output; i-s < IW_ESSID_MAX_SIZE && *i; i++) {
- if (*i >= 32 && *i < 126 && *i != '/' && *i != '%')
+ if (*i >= 32 && *i <= 126 && *i != '/' && *i != '%')
*(o++) = *i;
else {
*(o++) = '%';