mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
Fix build
This commit is contained in:
parent
4770839a3b
commit
e463458c4d
@ -367,7 +367,7 @@ POSTFILE_KEY CWorkerThread::ParseMultipartData(const std::string &data, const st
|
||||
case 4:
|
||||
if(next(data,i,rboundary)==true)
|
||||
{
|
||||
IFile *memfile=Server->openMemoryFile();
|
||||
IFile *memfile=Server->openTemporaryFile();
|
||||
memfile->Write(data.substr(start,i-start-2) );
|
||||
memfile->Seek(0);
|
||||
Server->addPostFile(pfilekey, name, SPostfile(memfile, filename, contenttype) );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user