fixed typo breaking the build on vista+, in file pool's IO priority code

This commit is contained in:
Arvid Norberg 2012-04-18 03:52:34 +00:00
parent 04eeb98bb3
commit d2e91594b3
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
* fixed typo in win vista specific code, breaking the build
* change default of rate_limit_utp to true
* fixed DLL export issue on windows (when building a shared library linking statically against boost)
* fixed FreeBSD build

View File

@ -162,7 +162,7 @@ namespace libtorrent
FILE_IO_PRIORITY_HINT_INFO priorityHint;
priorityHint.PriorityHint = IoPriorityHintLow;
SetFileInformationByHandle(e.file_ptr->native_handle(),
FileIoPriorityHintInfo, &priorityHint, sizeof(PriorityHint));
FileIoPriorityHintInfo, &priorityHint, sizeof(priorityHint));
}
#endif
#endif