git-svn-id: svn://db.shs.com.ru/pip@383 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-04-17 12:45:18 +00:00
parent 9f8db3a769
commit ff647e6054
4 changed files with 4 additions and 6 deletions

View File

@@ -1,5 +1,4 @@
#include "pifiletransfer.h"
#include "piincludes_p.h"
const char PIFileTransfer::sign[] = {'P', 'F', 'T'};
@@ -79,7 +78,7 @@ bool PIFileTransfer::sendFiles(const PIVector<PFTFileInfo> &files) {
if (files_[i].isDir()) files_[i].size = 0;
// piCout << "prepare" << i << files_[i].path << files_[i].dest_path << files_[i].name();
}
srand(PISystemTime::current().toMilliseconds());
randomize();
pftheader.session_id = rand();
sendFilesStarted();
cur_file_string = "build session";