From: fredrik Date: Fri, 12 May 2006 16:19:16 +0000 (+0000) Subject: Unlink the state file while progressing. X-Git-Tag: 0.1~39 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=9de0d082eb31c6c4b261721b25c187c7f204c163 Unlink the state file while progressing. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@606 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/config/tthsum.c b/config/tthsum.c index 18481c5..796b94a 100644 --- a/config/tthsum.c +++ b/config/tthsum.c @@ -618,6 +618,7 @@ int main(int argc, char **argv) } memcpy(&tth.block, dbuf, tth.offset); fclose(state); + unlink(statefile); } } while(1) {