extended portmap log alert message cap to 600 characters

This commit is contained in:
Arvid Norberg 2009-12-25 22:30:18 +00:00
parent 59636e0cca
commit 31a56af1ad
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ namespace libtorrent {
std::string portmap_log_alert::message() const
{
static char const* type_str[] = {"NAT-PMP", "UPnP"};
char ret[200];
char ret[600];
snprintf(ret, sizeof(ret), "%s: %s", type_str[map_type], msg.c_str());
return ret;
}