]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - dansguardian_report.c
Append \n at the end of every debuga
[thirdparty/sarg.git] / dansguardian_report.c
index 6eab779c1697b3fee82c7ebad045472d59c59bac..33bae5f13debba3680e37a6506769c8ab58f5de5 100644 (file)
@@ -66,7 +66,7 @@ void dansguardian_report(void)
    }
 
    if (!fgets(period,sizeof(period),fp_in)) {
-      debuga(_("(dansguardian_report) read error in %s"),per);
+      debuga(_("(dansguardian_report) read error in %s\n"),per);
       exit(1);
    }
    fclose(fp_in);
@@ -94,15 +94,15 @@ void dansguardian_report(void)
       getword_start(&gwarea,buf);
       if (getword(user,sizeof(user),&gwarea,'\t')<0 || getword(date2,sizeof(date2),&gwarea,'\t')<0 ||
           getword(hour,sizeof(hour),&gwarea,'\t')<0 || getword(ip,sizeof(ip),&gwarea,'\t')<0) {
-         debuga(_("Maybe you have a broken record or garbage in your %s file"),dansguardian_in);
+         debuga(_("Maybe you have a broken record or garbage in your %s file\n"),dansguardian_in);
          exit(1);
       }
       if (getword_ptr(buf,&url,&gwarea,'\t')<0) {
-         debuga(_("Maybe you have a broken url in your %s file"),dansguardian_in);
+         debuga(_("Maybe you have a broken url in your %s file\n"),dansguardian_in);
          exit(1);
       }
       if (getword(rule,sizeof(rule),&gwarea,'\n')<0) {
-         debuga(_("Maybe you have a broken rule in your %s file"),dansguardian_in);
+         debuga(_("Maybe you have a broken rule in your %s file\n"),dansguardian_in);
          exit(1);
       }