doppel-oops

master
Felix von Leitner 2002-10-23 15:17:41 +00:00
parent c119be2fa6
commit ec1573379d
1 changed files with 3 additions and 2 deletions

View File

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