fix lazy_entry stream out operator to not leave the stream in hexadecimal mode

This commit is contained in:
Arvid Norberg 2009-03-12 01:59:35 +00:00
parent ee3075ec12
commit 59fa30400f
1 changed files with 1 additions and 1 deletions

View File

@ -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:
{ {