trim tracker urls and renamed isprint to is_print
This commit is contained in:
@@ -391,7 +391,7 @@ namespace libtorrent
|
||||
for (int i = 0; i < e.string_length(); ++i)
|
||||
{
|
||||
using namespace std;
|
||||
if (isprint((unsigned char)str[i])) continue;
|
||||
if (is_print((unsigned char)str[i])) continue;
|
||||
printable = false;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user