diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2011-02-11 11:35:05 +0100 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2011-02-13 20:41:48 +0100 |
commit | 0df76f7e09468771c9d3172a38243f8e4deefb30 (patch) | |
tree | 6d831d822f49a13431f778874464bfbf1e4a3375 /src/syncevo/LocalTransportAgent.cpp | |
parent | 4be48b56f0c0c7ccc935e07548bfc8768b44d414 (diff) |
LocalTransport: redo output redirection
Local sync suffered from the race condition that is solved by
LogRedirect::redoRedirection(). Use that...
Diffstat (limited to 'src/syncevo/LocalTransportAgent.cpp')
-rw-r--r-- | src/syncevo/LocalTransportAgent.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/syncevo/LocalTransportAgent.cpp b/src/syncevo/LocalTransportAgent.cpp index 6fbc2179..e0260b4b 100644 --- a/src/syncevo/LocalTransportAgent.cpp +++ b/src/syncevo/LocalTransportAgent.cpp @@ -188,6 +188,11 @@ void LocalTransportAgent::run() --index; } + // do not mix our own output into the output of the parent + if (redirect) { + redirect->redoRedirect(); + } + // Ignore parent's timeout. m_timeoutSeconds = 0; |