]> git.ipfire.org Git - thirdparty/sarg.git/commit - html.c
Don't delete a file twice if -i is given on the command line
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Wed, 9 Feb 2011 20:46:37 +0000 (20:46 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Wed, 9 Feb 2011 20:46:37 +0000 (20:46 +0000)
commita5267dd612c697b95a588c033323407d6a7faf32
treecdbedb72e662385ee903e81280407e0b9adde8b7
parent30113df878b70331108e9bb0e4edce340205a171
Don't delete a file twice if -i is given on the command line

If sarg is ran with command line option -i, in some circunstances I have
yet to clarify, the ip file is not produced. In that case, the name of
the previously created file (whose name is still in the string buffer)
is deleted a second time. The result is a failure as the file doesn't
exists any more.

Thanks to Arnaud Florent for reporting this bug.
html.c