From 4a0370bdfdb599aa1798855a6074210583dd7cc4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 25 Jun 2015 13:53:41 +0200 Subject: [PATCH] lib/util: fix output format in dump_data*() This changes: [0000] 4E 54 4C 4D 53 53 50 00 01 00 00 00 05 82 08 60 NTLMSSP. .......` [0010] 09 00 09 00 20 00 00 00 00 00 00 00 29 00 00 00 .... ... ....)... [0020] 57 4F 52 4B 47 52 4F 55 50 WORKGROU P into: [0000] 4E 54 4C 4D 53 53 50 00 01 00 00 00 05 82 08 60 NTLMSSP. .......` [0010] 09 00 09 00 20 00 00 00 00 00 00 00 29 00 00 00 .... ... ....)... [0020] 57 4F 52 4B 47 52 4F 55 50 WORKGROU P Note the alignment of 'WORKGROU P'. Signed-off-by: Stefan Metzmacher Reviewed-by: Guenther Deschner --- lib/util/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/util.c b/lib/util/util.c index 9ef71242039..4f0e67f2e7a 100644 --- a/lib/util/util.c +++ b/lib/util/util.c @@ -530,7 +530,7 @@ void dump_data_cb(const uint8_t *buf, int len, if (i%16) { int n; n = 16 - (i%16); - cb(" ", private_data); + cb(" ", private_data); if (n>8) { cb(" ", private_data); } -- 2.47.3