diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-11 22:16:08 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-11 22:16:08 +0100 |
commit | 16b27c4b7ae2ccb03355148fa7fc7116190cc5fb (patch) | |
tree | c5eb676f548fbfa770e11779bcc1380d7f16f06c /src/CommandOutput.cpp | |
parent | Move Format issues (diff) | |
download | cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.gz cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.bz2 cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.lz cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.xz cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.tar.zst cuberite-16b27c4b7ae2ccb03355148fa7fc7116190cc5fb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/CommandOutput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CommandOutput.cpp b/src/CommandOutput.cpp index c221682a1..74f857284 100644 --- a/src/CommandOutput.cpp +++ b/src/CommandOutput.cpp @@ -51,7 +51,7 @@ void cLogCommandOutputCallback::Finished(void) { case '\n': { - LOG(m_Buffer.substr(last, i - last).c_str()); + LOG("%s",m_Buffer.substr(last, i - last).c_str()); last = i + 1; break; } @@ -59,7 +59,7 @@ void cLogCommandOutputCallback::Finished(void) } // for i - m_Buffer[] if (last < len) { - LOG(m_Buffer.substr(last).c_str()); + LOG("%s",m_Buffer.substr(last).c_str()); } // Clear the buffer for the next command output: |