]> git.ipfire.org Git - thirdparty/sarg.git/commit - authfail.c
Check for the return code when deleting a file
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Sun, 26 Dec 2010 18:29:38 +0000 (18:29 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Sun, 26 Dec 2010 18:29:38 +0000 (18:29 +0000)
commit08f9b029f8a65d292b7e97cdaec14c145edbdb20
tree44ad37b92addb21d601cbc1d3d31b0a094284cb6
parentaffa72c5d322e49f3d5b4b7ce3e892e172869120
Check for the return code when deleting a file

Most of the calls to unlink are checked to report an error if the file
cannot be deleted.

The calls that are not checked are call where the file may not exists
and it might not be desirable to abort the process for such an error.
21 files changed:
authfail.c
dansguardian_log.c
dansguardian_report.c
denied.c
download.c
email.c
grepday.c
html.c
index.c
lastlog.c
log.c
realtime.c
report.c
siteuser.c
smartfilter.c
sort.c
squidguard_log.c
squidguard_report.c
topsites.c
topuser.c
useragent.c