extended portmap log alert message cap to 600 characters
This commit is contained in:
parent
59636e0cca
commit
31a56af1ad
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue