extended upnp error message cap to 500 characters

This commit is contained in:
Arvid Norberg 2009-12-25 22:21:39 +00:00
parent 8154ca3c7c
commit 59636e0cca
1 changed files with 1 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ void upnp::on_upnp_map_response(error_code const& e
return_error(mapping, s.error_code, l);
}
char msg[200];
char msg[500];
snprintf(msg, sizeof(msg), "map response: %s"
, std::string(p.get_body().begin, p.get_body().end).c_str());
log(msg, l);