git-svn-id: svn://db.shs.com.ru/pip@383 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user