]> git.ipfire.org Git - thirdparty/sarg.git/commit
Fix an error introduced when stripping the user domain
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Fri, 24 Jul 2015 14:09:20 +0000 (16:09 +0200)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Fri, 24 Jul 2015 14:09:20 +0000 (16:09 +0200)
commit7799ec8d818674a432daf6291b60fafb77ac32f5
treece6419b4b5702976e4925d1a0bbedcfc29c11b73
parente927e4230cd47ae0e265096895f4c5f9f7fea79f
Fix an error introduced when stripping the user domain

Several reports such as the download and authentication reports would
fail with an error about unknown user "-".

It has been fixed by choosing a new method to strip the domain.

The change partially reverts some changes made in commit
36a0b94cbcaa8a9899fcc878639945e8787d0fec that were responsible for the
proper user name not being propagated to the intermediary report files.

Thanks to Yakushev Evgeniy for reporting this bug.
include/readlog.h
readlog.c
readlog_common.c
readlog_extlog.c
readlog_sarg.c
readlog_squid.c