build fix

This commit is contained in:
Arvid Norberg 2010-03-02 09:12:34 +00:00
parent 0952dd48f6
commit beca9b3da5
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ namespace libtorrent
#endif
if (cancelled())
{
fail(-1, "aborted");
fail(error_code(errors::torrent_aborted));
return;
}