compare with generic_category in close_reason (#1152)

This commit is contained in:
Alden Torres 2016-09-25 01:42:45 -04:00 committed by Arvid Norberg
parent 4693fcf3f1
commit b60fe066e2
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ namespace libtorrent
return close_no_reason;
}
}
else if (ec.category() == boost::system::system_category())
else if (ec.category() == generic_category())
{
switch (ec.value())
{