]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - repday.c
Append \n at the end of every debuga
[thirdparty/sarg.git] / repday.c
index 50dcf5a3ed6977c32d172e5b85c7da0f1192313e..4e032eb0b5ef7eab6b3bd8f7e80d472043592ae1 100644 (file)
--- a/repday.c
+++ b/repday.c
@@ -53,7 +53,7 @@ void report_day(const struct userinfostruct *uinfo)
    struct getwordstruct gwarea;
 
    if (snprintf(arqout,sizeof(arqout),"%s/%s/d%s.html",dirname,uinfo->filename,uinfo->filename)>=sizeof(arqout)) {
-      debuga(_("Output file name too long: %s/%s/d%s.html"),dirname,uinfo->filename,uinfo->filename);
+      debuga(_("Output file name too long: %s/%s/d%s.html\n"),dirname,uinfo->filename,uinfo->filename);
       exit(1);
    }
    snprintf(wdirname,sizeof(wdirname),"%s/%s.day",tmp,uinfo->filename);
@@ -100,7 +100,7 @@ void report_day(const struct userinfostruct *uinfo)
       fixendofline(buf);
       getword_start(&gwarea,buf);
       if (getword(data,sizeof(data),&gwarea,'\t')<0) {
-         debuga(_("There is a broken date in file %s"),wdirname);
+         debuga(_("There is a broken date in file %s\n"),wdirname);
          exit(1);
       }
       if(!count) {
@@ -109,11 +109,11 @@ void report_day(const struct userinfostruct *uinfo)
       }
 
       if (getword(hour,sizeof(hour),&gwarea,'\t')<0) {
-         debuga(_("There is a broken time in file %s"),wdirname);
+         debuga(_("There is a broken time in file %s\n"),wdirname);
          exit(1);
       }
       if (getword_atoll(&elap,&gwarea,'\t')<0) {
-         debuga(_("There is a broken quantity in file %s"),wdirname);
+         debuga(_("There is a broken quantity in file %s\n"),wdirname);
          exit(1);
       }