summaryrefslogtreecommitdiffstats
path: root/src/CommandOutput.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-14 14:11:49 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-14 14:11:49 +0100
commitcd6ab5617cd7b26b13cfe26a950ca17fecefd550 (patch)
treed607161eb1a1c519e519aa1f32ee45dbcc3f587e /src/CommandOutput.cpp
parentMerge branch 'master' into warnings (diff)
downloadcuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.gz
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.bz2
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.lz
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.xz
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.tar.zst
cuberite-cd6ab5617cd7b26b13cfe26a950ca17fecefd550.zip
Diffstat (limited to 'src/CommandOutput.cpp')
-rw-r--r--src/CommandOutput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CommandOutput.cpp b/src/CommandOutput.cpp
index 74f857284..2c116b3d6 100644
--- a/src/CommandOutput.cpp
+++ b/src/CommandOutput.cpp
@@ -51,7 +51,7 @@ void cLogCommandOutputCallback::Finished(void)
{
case '\n':
{
- LOG("%s",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("%s",m_Buffer.substr(last).c_str());
+ LOG("%s", m_Buffer.substr(last).c_str());
}
// Clear the buffer for the next command output: