fixed typo in windows code

This commit is contained in:
Arvid Norberg 2007-04-18 00:48:31 +00:00
parent af779b6349
commit c639399b84
1 changed files with 1 additions and 1 deletions

View File

@ -778,7 +778,7 @@ namespace libtorrent
// assume windows API is available // assume windows API is available
DWORD max_component_len = 0; DWORD max_component_len = 0;
DWORD volume_flags = 0; DWORD volume_flags = 0;
std::string root_device = m_save_path.root_name() + "\\"; std::string root_device = p.root_name() + "\\";
bool ret = ::GetVolumeInformation(root_device.c_str(), 0 bool ret = ::GetVolumeInformation(root_device.c_str(), 0
, 0, 0, &max_component_len, &volume_flags, 0, 0); , 0, 0, &max_component_len, &volume_flags, 0, 0);