forked from premiere/premiere-libtorrent
fixed string formatting bug
This commit is contained in:
parent
41be942ae7
commit
7538b3da82
|
@ -275,7 +275,7 @@ namespace libtorrent
|
||||||
virtual std::string message() const
|
virtual std::string message() const
|
||||||
{
|
{
|
||||||
char ret[200];
|
char ret[200];
|
||||||
snprintf(ret, 200, "%s (%u) %s (%d)"
|
snprintf(ret, 200, "%s (%d) %s (%d)"
|
||||||
, torrent_alert::message().c_str(), status_code, msg.c_str(), times_in_row);
|
, torrent_alert::message().c_str(), status_code, msg.c_str(), times_in_row);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue