fixed typo in example code

This commit is contained in:
Arvid Norberg
2005-11-21 22:36:27 +00:00
parent a515bc2bfb
commit 282b06a9a5
2 changed files with 20 additions and 2 deletions

View File

@@ -2804,7 +2804,7 @@ print information about it to std out::
std::cout << "\n\n----- torrent file info -----\n\n";
std::cout << "trackers:\n";
for (std::vector<announce_entry>::const_iterator i
= t.trackers().begin(), end(t.trackers().end); i != end; ++i)
= t.trackers().begin(), end(t.trackers().end()); i != end; ++i)
{
std::cout << i->tier << ": " << i->url << "\n";
}