mirror of
https://github.com/bol-van/zapret.git
synced 2026-01-27 04:40:32 +03:00
AI inspired fixes
This commit is contained in:
@@ -87,7 +87,7 @@ static bool dom_valid(char *dom)
|
||||
static void invalid_domain_beautify(char *dom)
|
||||
{
|
||||
for (int i = 0; *dom && i < 64; i++, dom++)
|
||||
if (*dom < 0x20 || *dom>0x7F) *dom = '?';
|
||||
if (*dom < 0x20 || *dom<0) *dom = '?';
|
||||
if (*dom) *dom = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user