Actually use the storagetype we passed.

This commit is contained in:
Learath Lea 2015-02-08 11:53:06 +02:00
parent 142c386cd6
commit ec84bb890b

View file

@ -99,7 +99,7 @@ bool CFetcher::FetchFile(CFetchTask *pTask)
if(pTask->m_pDest[i] == '/')
{
pTask->m_pDest[i] = '\0';
m_pStorage->CreateFolder(pTask->m_pDest, 2);
m_pStorage->CreateFolder(pTask->m_pDest, pTask->m_StorageType);
pTask->m_pDest[i] = '/';
}
}