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:
git@daemon.de
2015-10-16 17:25:17 +02:00
parent 4165e5d996
commit c7108ec47f
4 changed files with 14 additions and 13 deletions

View File

@@ -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);
}