Reverted default branch to stable-1.5.

This commit is contained in:
Florian Pose
2014-11-03 15:20:05 +01:00
parent 8479fd7675
commit 99418519bd
664 changed files with 837025 additions and 12883 deletions
+1 -2
View File
@@ -140,8 +140,7 @@ void CommandFoeWrite::execute(const StringVector &args)
// write data via foe to the slave
data.offset = 0;
strncpy(data.file_name, storeFileName.c_str(), sizeof(data.file_name)-1);
data.file_name[sizeof(data.file_name)-1] = '\0';
strncpy(data.file_name, storeFileName.c_str(), sizeof(data.file_name));
try {
m.writeFoe(&data);