mirror of https://github.com/hak5/openwrt.git
21 lines
388 B
Diff
21 lines
388 B
Diff
--- a/libbb/printable_string.c
|
|
+++ b/libbb/printable_string.c
|
|
@@ -28,8 +28,6 @@ const char* FAST_FUNC printable_string2(
|
|
}
|
|
if (c < ' ')
|
|
break;
|
|
- if (c >= 0x7f)
|
|
- break;
|
|
s++;
|
|
}
|
|
|
|
@@ -42,7 +40,7 @@ const char* FAST_FUNC printable_string2(
|
|
unsigned char c = *d;
|
|
if (c == '\0')
|
|
break;
|
|
- if (c < ' ' || c >= 0x7f)
|
|
+ if (c < ' ')
|
|
*d = '?';
|
|
d++;
|
|
}
|