Skip to content
This repository was archived by the owner on Apr 23, 2023. It is now read-only.

Commit 84f253b

Browse files
committed
workaround for segfault
1 parent 4935ca2 commit 84f253b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Filesystem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ int FilesystemServer::writeFilePart(string FID, char *buffer, unsigned int partN
445445
tmp.close();
446446
if (this->files[this->path + FID]->last_part + 1 == partNr)
447447
{
448-
this->files[this->path + FID]->last_part++;
448+
//this->files[this->path + FID]->last_part = this->files[this->path + FID]->last_part + 1;
449449
}
450450
return 0;
451451
}

0 commit comments

Comments
 (0)