Browse Source

doppel-oops

master
Felix von Leitner 19 years ago
parent
commit
ec1573379d
  1. 5
      test/uudecode.c

5
test/uudecode.c

@ -251,9 +251,10 @@ invalidpart:
i+=x+1; out.len+=scanned;
}
i=crc32(0,out.s,out.len);
if (out.len == endoffset-offset && i == wantedcrc)
if (out.len == endoffset-offset && i == wantedcrc) {
buffer_put(&fileout,out.s,out.len);
++reconstructed;
else {
} else {
buffer_puts(buffer_2,"warning: part ");
buffer_putulong(buffer_2,part);
buffer_putsflush(buffer_2," corrupt; reconstruction failed.\n");

Loading…
Cancel
Save