Skip to content
Snippets Groups Projects
Commit 5a6de0ad authored by ck's avatar ck
Browse files

Maemo: Fix trailing garbage output at end of remote process.

Task-number: QTCREATORBUG-1461 (part 2)
Written-by: Denis Mingulov
parent 10ac9468
No related branches found
No related tags found
No related merge requests found
...@@ -166,8 +166,8 @@ void MaemoSshRunner::handleRemoteOutput() ...@@ -166,8 +166,8 @@ void MaemoSshRunner::handleRemoteOutput()
charsToEmitCount = -1; charsToEmitCount = -1;
} }
} else { } else {
firstCharToEmit = 0; firstCharToEmit = m_potentialEndMarkerPrefix.count();
charsToEmitCount = endMarkerPos; charsToEmitCount = endMarkerPos - firstCharToEmit;
} }
} else { } else {
if (m_endMarkerCount == 0) { if (m_endMarkerCount == 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment