support for receiving multi announce messages for local peer discovery

This commit is contained in:
Arvid Norberg
2011-02-16 07:41:44 +00:00
parent cb6f38f056
commit 3c05e81529
6 changed files with 43 additions and 33 deletions

View File

@@ -57,7 +57,7 @@ void print_http_header(http_parser const& p)
{
std::cerr << " < " << p.status_code() << " " << p.message() << std::endl;
for (std::map<std::string, std::string>::const_iterator i
for (std::multimap<std::string, std::string>::const_iterator i
= p.headers().begin(), end(p.headers().end()); i != end; ++i)
{
std::cerr << " < " << i->first << ": " << i->second << std::endl;