mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
[remote] try again
This commit is contained in:
parent
33bfc873b1
commit
857ba5c8e1
@ -941,10 +941,14 @@ int main(int argc, char *argv[])
|
||||
cps->cps_client_state = CS_TAILING;
|
||||
} else if (type == TPT_ACK_BLOCK) {
|
||||
// fprintf(stderr, "info: client acked: %s\n", path);
|
||||
if (cps->cps_client_file_read_length == 0) {
|
||||
cps->cps_client_state = CS_TAILING;
|
||||
} else {
|
||||
cps->cps_client_file_offset +=
|
||||
cps->cps_client_file_read_length;
|
||||
cps->cps_client_state = CS_INIT;
|
||||
}
|
||||
}
|
||||
free(path);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user