forked from premiere/premiere-libtorrent
compare with generic_category in close_reason (#1152)
This commit is contained in:
parent
4693fcf3f1
commit
b60fe066e2
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue