diff --git a/src/io/pidiagnostics.h b/src/io/pidiagnostics.h index c5d53865..1a188f1e 100755 --- a/src/io/pidiagnostics.h +++ b/src/io/pidiagnostics.h @@ -32,7 +32,7 @@ class PIP_EXPORT PIDiagnostics: public PITimer friend class PIConnection; public: - //! Constructs an empty diagnostics and if "strat_" start it + //! Constructs an empty diagnostics and if "start_" start it PIDiagnostics(bool start_ = true); virtual ~PIDiagnostics() {;} diff --git a/src/io/pidir.cpp b/src/io/pidir.cpp index 5d383a33..c7a4310c 100755 --- a/src/io/pidir.cpp +++ b/src/io/pidir.cpp @@ -165,6 +165,7 @@ PIString PIDir::relative(const PIString & path) const { PIDir & PIDir::setDir(const PIString & path) { path_ = path; #ifdef WINDOWS + path_.replaceAll("\\", separator); if (path_.length() > 2) if (path_.mid(1, 2).contains(":")) path_.prepend(separator); diff --git a/utils/udp_file_transfer/main.cpp b/utils/udp_file_transfer/main.cpp index 16df88f7..31c8b390 100644 --- a/utils/udp_file_transfer/main.cpp +++ b/utils/udp_file_transfer/main.cpp @@ -113,12 +113,13 @@ int main (int argc, char * argv[]) { if (fls.size() > 0) { piCout << "send files" << fls; f.startSend(fls); + PICout(0) << "\n"; return 0; } else { piCout << "wait for receiving"; } WAIT_FOR_EXIT - PICout() << "\n"; + PICout(0) << "\n"; return 0; }