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
......@@ -166,8 +166,8 @@ void MaemoSshRunner::handleRemoteOutput()
charsToEmitCount = -1;
}
} else {
firstCharToEmit = 0;
charsToEmitCount = endMarkerPos;
firstCharToEmit = m_potentialEndMarkerPrefix.count();
charsToEmitCount = endMarkerPos - firstCharToEmit;
}
} else {
if (m_endMarkerCount == 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment