]> git.ipfire.org Git - thirdparty/sarg.git/commit - html.c
Use internal user list instead of scanning the directory for users
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Sun, 26 Dec 2010 18:28:45 +0000 (18:28 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Sun, 26 Dec 2010 18:28:45 +0000 (18:28 +0000)
commit935514879d80434ca731592eb2092ece100440e1
tree07827965d5fd04f39c7b290ed0a0324916b115c3
parent257cd925ea6852bcaaca376ceb05b242fd0ba487
Use internal user list instead of scanning the directory for users

Sarg used to scan the temporary directory for files to process and
extract the user name from the files. But, now, it is a waste of time
to read the directory as a list of the known users is alread in
memory.

This change also keep away stray files left by the crash of a previous
run.
CMakeLists.txt
datafile.c
html.c
include/conf.h
include/defs.h
include/info.h
report.c
sort.c
squidguard_log.c
userinfo.c