]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - exclude.c
Append \n at the end of every debuga
[thirdparty/sarg.git] / exclude.c
index 924554d1e804a38c2c303d6542d655729b9d7633..a3aada27cb386cacfdfa395d560a9ed6b8195934 100644 (file)
--- a/exclude.c
+++ b/exclude.c
@@ -139,11 +139,11 @@ void gethexclude(const char *hexfile, int debug)
    int mask, max_mask;
 
    if(access(hexfile, R_OK) != 0) {
-      debuga("Cannot open exclude_hosts file: %s - %s",hexfile,strerror(errno));
+      debuga(_("Cannot open exclude_hosts file: %s - %s\n"),hexfile,strerror(errno));
       exit(1);
    }
    if(debug)
-      debuga("%s: %s",_("Loading exclude file from"),hexfile);
+      debuga(_("Loading exclude file from: %s\n"),hexfile);
 
    if ((fp_ex = fopen(hexfile, "r")) == NULL) {
       fprintf(stderr, "SARG: (gethexclude) %s: %s - %s\n",_("Cannot open file"),hexfile,strerror(errno));
@@ -320,7 +320,7 @@ void getuexclude(const char *uexfile, int debug)
    long int nreg=0;
 
    if(debug)
-      debuga("%s: %s",_("Loading exclude file from"),uexfile);
+      debuga(_("Loading exclude file from: %s\n"),uexfile);
 
    if ((fp_ex = fopen(uexfile, "r")) == NULL) {
       fprintf(stderr, "SARG: (gethexclude) %s: %s - %s\n",_("Cannot open file"),uexfile,strerror(errno));