]> 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:12 +0000 (13:20 +0200)
src/lib/print.c
src/main/valuepair.c
src/modules/rlm_digest/rlm_digest.c

index f22fd3c89ee8cfd36cbeb1f55da6a9547b3946b8..db5b7d9407f179fb8ebf13a12e76ecda9c4a5a8a 100644 (file)
@@ -478,6 +478,7 @@ void vp_print(FILE *fp, VALUE_PAIR *vp)
        char    buf[1024];
 
        vp_prints(buf, sizeof(buf), vp);
+       fputc('\t', fp);
        fputs(buf, fp);
        fputc('\n', fp);
 }
@@ -490,7 +491,6 @@ void vp_print(FILE *fp, VALUE_PAIR *vp)
 void vp_printlist(FILE *fp, VALUE_PAIR *vp)
 {
        for (; vp; vp = vp->next) {
-               fprintf(fp, "\t");
                vp_print(fp, vp);
        }
 }
index a5c099de052c05ceaea091f4a61969c4a6a963d7..4852158e6ba44a3c372ecfe690aaaf93f0363b08 100644 (file)
@@ -738,7 +738,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);
 }
 
@@ -747,7 +746,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 193270eb2c7e3ebab288a74b3700eba96bbcf0a1..885f4dcff0ea33516b7fabe42adf32ed9db7fd02 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);
                        }