fix lazy_entry stream out operator to not leave the stream in hexadecimal mode
This commit is contained in:
parent
ee3075ec12
commit
59fa30400f
|
@ -385,7 +385,7 @@ namespace libtorrent
|
||||||
for (int i = 0; i < e.string_length(); ++i)
|
for (int i = 0; i < e.string_length(); ++i)
|
||||||
os << std::hex << std::setfill('0') << std::setw(2)
|
os << std::hex << std::setfill('0') << std::setw(2)
|
||||||
<< int((unsigned char)(str[i]));
|
<< int((unsigned char)(str[i]));
|
||||||
return os << "'";
|
return os << "'" << std::dec;
|
||||||
}
|
}
|
||||||
case lazy_entry::list_t:
|
case lazy_entry::list_t:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue