forked from qt-creator/qt-creator
Maemo: Fix trailing garbage output at end of remote process.
Task-number: QTCREATORBUG-1461 (part 2) Written-by: Denis Mingulov
This commit is contained in:
@@ -165,8 +165,8 @@ void MaemoSshRunner::handleRemoteOutput(const QByteArray &curOutput)
|
|||||||
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user