Browse Source

fix uudecode to also decode one yenc file I came across

master
Felix von Leitner 16 years ago
parent
commit
03e3922f17
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      test/uudecode.c

+ 1
- 0
test/uudecode.c View File

@ -320,6 +320,7 @@ invalidpart:
i+=x+1; out.len+=scanned;
}
i=crc32(0,out.s,out.len);
if (endoffset == offset+out.len-1) ++endoffset;
if (out.len == endoffset-offset && i == wantedcrc) {
/* ok, save block */
buffer_put(&fileout,out.s,out.len);


Loading…
Cancel
Save