mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
rewrote z85 stream decoder (again), using hyphens again. clearsig doesn't work yet, a newline problem...
This commit is contained in:
@@ -18,8 +18,11 @@ int linetest() {
|
||||
byte data[9] = {0};
|
||||
while(!ps_end(pin)) {
|
||||
if((got = ps_read(pin, data, 8)) > 0) {
|
||||
fwrite(data, 1, got, stdout);
|
||||
fprintf(stderr, "######## <");
|
||||
fwrite(data, 1, got, stderr);
|
||||
fprintf(stderr, "> ##### %ld\n", got);
|
||||
}
|
||||
else break;
|
||||
}
|
||||
|
||||
ps_close(pin);
|
||||
|
||||
Reference in New Issue
Block a user