Cleaning up lpxclient and lpxserver in preparation for redirect implementation

This commit is contained in:
2026-06-01 22:49:25 -04:00
parent 1b0d96934f
commit bfaf161d30
6 changed files with 45 additions and 18 deletions

View File

@@ -191,12 +191,14 @@ bool PrintChanneler::channel(const PrintBuffer *printbuffer, StreamBuffer *sb) {
if (printbuffer->first_line() > line_) {
line_ = printbuffer->first_line();
}
bool any = false;
while (line_ < printbuffer->first_unchecked()) {
sb->write_bytes(printbuffer->nth(line_));
sb->write_bytes("\n");
line_ += 1;
any = true;
}
return line_ > printbuffer->first_line();
return any;
}
Invocation PrintChanneler::invocation(int64_t actor_id) {