rewrote z85 stream decoder (again), using hyphens again. clearsig doesn't work yet, a newline problem...

This commit is contained in:
TLINDEN
2014-03-01 18:51:25 +01:00
parent b8552af5e9
commit 4253e1088f
16 changed files with 201 additions and 123 deletions

View File

@@ -50,11 +50,9 @@ int main(int argc, char **argv) {
void *buf = ucmalloc(rblocksize);
while(!ps_end(in)) {
fprintf(stderr, "=== read:\n");
got = ps_read(in, buf, rblocksize);
if(got > 0)
ps_write(out, buf, got);
fprintf(stderr, "======= got: %ld\n", got);
}
ps_finish(out);