]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - useragent.c
Fix indentation of the code
[thirdparty/sarg.git] / useragent.c
index 7dad9712f08984af1e376b421bb2177824f085d4..144d2367e4a9f54fc594b9465c210e36768e003d 100644 (file)
@@ -79,13 +79,13 @@ void useragent(void)
                totregsl++;
                getword_start(&gwarea,buf);
                if (getword(ip,sizeof(ip),&gwarea,' ')<0 || getword_skip(MAXLEN,&gwarea,'[')<0 ||
-                       getword(data,sizeof(data),&gwarea,' ')<0) {
+                   getword(data,sizeof(data),&gwarea,' ')<0) {
                        debuga(_("Maybe you have a broken record or garbage in your %s file\n"),UserAgentLog);
                        exit(EXIT_FAILURE);
                }
                getword_start(&gwarea1,data);
                if (getword(day,sizeof(day),&gwarea1,'/')<0 || getword(month,sizeof(month),&gwarea1,'/')<0 ||
-                       getword(year,sizeof(year),&gwarea1,':')<0) {
+                   getword(year,sizeof(year),&gwarea1,':')<0) {
                        debuga(_("Maybe you have a broken date in your %s file\n"),UserAgentLog);
                        exit(EXIT_FAILURE);
                }