Unlink the state file while progressing.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Fri, 12 May 2006 16:19:16 +0000 (16:19 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Fri, 12 May 2006 16:19:16 +0000 (16:19 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@606 959494ce-11ee-0310-bf91-de5d638817bd

config/tthsum.c

index 18481c5..796b94a 100644 (file)
@@ -618,6 +618,7 @@ int main(int argc, char **argv)
                }
                memcpy(&tth.block, dbuf, tth.offset);
                fclose(state);
+               unlink(statefile);
            }
        }
        while(1) {