mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
fixed stream-reader bug on aix@ppc, which ignored the last z85 pkt sometimes due invalid call to ps_end()
This commit is contained in:
@@ -45,7 +45,6 @@ int main(int argc, char **argv) {
|
||||
|
||||
while(!ps_end(in)) {
|
||||
got = ps_read(in, buf, blocksize);
|
||||
//fprintf(stderr, "got: %ld\n", got);
|
||||
if(got > 0)
|
||||
ps_write(out, buf, got);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user