mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
Another lint error.
This commit is contained in:
@@ -212,7 +212,12 @@ void SeerConsoleWidget::handleStdinLineEdit () {
|
||||
return;
|
||||
}
|
||||
|
||||
(void)write(_ptsFD, s.c_str(), s.length());
|
||||
int n = write(_ptsFD, s.c_str(), s.length());
|
||||
|
||||
if (n != (signed long int)s.length()) {
|
||||
qWarning() << "Not able to process stdin of" << s.length() << "bytes.";
|
||||
}
|
||||
|
||||
fsync(_ptsFD);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user