X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=config%2Ftthsum.c;h=dd20521e6473519374c47ffd6df89624b97fd958;hb=e194f2fdfdde54a19e3e94a63f70580b6da0854a;hp=18481c543d02190959dd08959242a306684d00cc;hpb=641e098a421d21f17eba47806e7b83064dddd546;p=doldaconnect.git diff --git a/config/tthsum.c b/config/tthsum.c index 18481c5..dd20521 100644 --- a/config/tthsum.c +++ b/config/tthsum.c @@ -48,7 +48,7 @@ struct tigertreehash { int depth; }; -char buf[32768], dbuf[512]; +char buf[32768], dbuf[8192]; static char *base64set = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; static int base64rev[] = { @@ -618,6 +618,7 @@ int main(int argc, char **argv) } memcpy(&tth.block, dbuf, tth.offset); fclose(state); + unlink(statefile); } } while(1) {