Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2018-03-30 20:39:09 +0300
committerDavid Crocker <dcrocker@eschertech.com>2018-03-30 20:39:09 +0300
commitde270d2a00fd83cc3961a749432bff940601f1dd (patch)
tree7a9f781a99def2ffa10734c1053d94e0cb3651d4 /src/PrintMonitor.cpp
parent22e0ac40dd0f7fb5a362476d054bfbb6e8aa4293 (diff)
Thread safe file system
Various changes to maske the filesystem thread safe
Diffstat (limited to 'src/PrintMonitor.cpp')
-rw-r--r--src/PrintMonitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PrintMonitor.cpp b/src/PrintMonitor.cpp
index 216f27ed..139b6d05 100644
--- a/src/PrintMonitor.cpp
+++ b/src/PrintMonitor.cpp
@@ -616,7 +616,7 @@ bool PrintMonitor::GetFileInfoResponse(const char *filename, OutputBuffer *&resp
}
}
response->cat("],\"generatedBy\":");
- response->EncodeString(info.generatedBy.c_str(), info.generatedBy.MaxLength(), false);
+ response->EncodeString(info.generatedBy.c_str(), info.generatedBy.Capacity(), false);
response->cat("}");
}
else