]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - readlog.c
The reported user agent report date was wrong
[thirdparty/sarg.git] / readlog.c
index 3805de0cb35f4355509a154933aa6fe797108e72..1b66c49a9122c1a2d57be3e703eb01d5ab1432b1 100644 (file)
--- a/readlog.c
+++ b/readlog.c
@@ -719,7 +719,7 @@ static void ReadOneLogFile(struct ReadLogDataStruct *Filter,const char *arq)
                {
                        if (!UseragentLog)
                                UseragentLog=UserAgent_Open();
-                       UserAgent_Write(UseragentLog,log_entry.Ip,log_entry.User,log_entry.UserAgent);
+                       UserAgent_Write(UseragentLog,&log_entry.EntryTime,log_entry.Ip,log_entry.User,log_entry.UserAgent);
                }
 
                if (log_line.current_format!=&ReadSargLog) {