]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Move \t into vp_print, just like the last commit
authorAlan T. DeKok <aland@freeradius.org>
Tue, 31 May 2011 11:20:12 +0000 (13:20 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 31 May 2011 11:20:51 +0000 (13:20 +0200)
src/lib/print.c
src/main/valuepair.c
src/modules/rlm_digest/rlm_digest.c

index 48ca70909922637f2179baa2014bbff38128a78c..db47e3ad339a892b3d2330db2eb1e34dd1d6b978 100644 (file)
@@ -530,6 +530,7 @@ void vp_print(FILE *fp, const VALUE_PAIR *vp)
        char    buf[1024];
 
        vp_prints(buf, sizeof(buf), vp);
+       fputc('\t', fp);
        fputs(buf, fp);
        fputc('\n', fp);
 }
@@ -542,7 +543,6 @@ void vp_print(FILE *fp, const VALUE_PAIR *vp)
 void vp_printlist(FILE *fp, const VALUE_PAIR *vp)
 {
        for (; vp; vp = vp->next) {
-               fprintf(fp, "\t");
                vp_print(fp, vp);
        }
 }
index ee7dca3ab09cc040e20af5ad461f7a1b24ae33a9..398b998b42d2aba76ba07f81e4a671568ca1ee89 100644 (file)
@@ -739,7 +739,6 @@ void debug_pair(VALUE_PAIR *vp)
 {
        if (!vp || !debug_flag || !fr_log_fp) return;
 
-       fputc('\t', fr_log_fp);
        vp_print(fr_log_fp, vp);
 }
 
@@ -748,7 +747,6 @@ void debug_pair_list(VALUE_PAIR *vp)
        if (!vp || !debug_flag || !fr_log_fp) return;
 
        while (vp) {
-               fputc('\t', fr_log_fp);
                vp_print(fr_log_fp, vp);
                vp = vp->next;
        }
index 2f68d73069f8581776dd89b87e56afa4b0a4c7ac..3dbeb4106f7ea47b254e7b57383737271cb032fb 100644 (file)
@@ -158,7 +158,6 @@ static int digest_fix(REQUEST *request)
                        sub->length = attrlen - 2;
 
                        if ((debug_flag > 1) && fr_log_fp) {
-                         fputc('\t', fr_log_fp);
                          vp_print(fr_log_fp, sub);
                        }