forked from premiere/premiere-libtorrent
fix typo in hard_link()
This commit is contained in:
parent
db214cc92d
commit
a9d12766d4
|
@ -538,7 +538,7 @@ namespace libtorrent
|
|||
// TODO: 3 find out what error code is reported when the filesystem
|
||||
// does not support hard links.
|
||||
DWORD error = GetLastError();
|
||||
if (error != ERROR_NOT_SUPPORTED || error != ERROR_ACCESS_DENIED)
|
||||
if (error != ERROR_NOT_SUPPORTED && error != ERROR_ACCESS_DENIED)
|
||||
{
|
||||
// it's possible CreateHardLink will copy the file internally too,
|
||||
// if the filesystem does not support it.
|
||||
|
|
Loading…
Reference in New Issue