aboutsummaryrefslogtreecommitdiff
path: root/lib/base/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base/console.cpp')
-rw-r--r--lib/base/console.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base/console.cpp b/lib/base/console.cpp
index 0a01094b..4c3be72c 100644
--- a/lib/base/console.cpp
+++ b/lib/base/console.cpp
@@ -370,7 +370,7 @@ void eConsoleAppContainer::readyWrite(int what)
{
if (what&eSocketNotifier::Write && outbuf.size() )
{
- queue_data d = outbuf.front();
+ queue_data &d = outbuf.front();
int wr = ::write( fd[1], d.data+d.dataSent, d.len-d.dataSent );
if (wr < 0)
eDebug("eConsoleAppContainer write failed (%m)");