diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-08-27 09:40:49 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-08-27 09:40:49 +0000 |
| commit | 6fa2705799afc20447438646966cd064a124beb7 (patch) | |
| tree | d339729b3b6b39bbb4ea2f8d06797c92f3e34b31 /lib | |
| parent | 948033c2cdf7124a3caed78d7ca8316daa0c77c5 (diff) | |
| download | enigma2-6fa2705799afc20447438646966cd064a124beb7.tar.gz enigma2-6fa2705799afc20447438646966cd064a124beb7.zip | |
use a reference instead of a local copy
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/base/console.cpp | 2 |
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)"); |
