fixed string formatting bug

This commit is contained in:
Arvid Norberg 2009-04-09 15:45:17 +00:00
parent 41be942ae7
commit 7538b3da82
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ namespace libtorrent
virtual std::string message() const
{
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);
return ret;
}