forked from premiere/premiere-libtorrent
dht log fix
This commit is contained in:
parent
ae11038495
commit
3fe96818d3
|
@ -144,8 +144,8 @@ namespace libtorrent { namespace dht
|
|||
char* digits = "0123456789abcdef";
|
||||
for (std::string::const_iterator i = s.begin(); i != s.end(); ++i)
|
||||
{
|
||||
ret += digits[*i & 0xf];
|
||||
ret += digits[*i >> 4];
|
||||
ret += digits[((unsigned char)*i) >> 4];
|
||||
ret += digits[((unsigned char)*i) & 0xf];
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue