summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-06-25 13:53:41 +0200
committerGünther Deschner <gd@samba.org>2015-07-03 02:00:28 +0200
commit4a0370bdfdb599aa1798855a6074210583dd7cc4 (patch)
treee2019f6d28fe909e2e07e9b55cfb877df4e77a26 /lib
parent8c9612e1144e33aafd94f28fb7fa4b6b8444b05c (diff)
downloadsamba-4a0370bdfdb599aa1798855a6074210583dd7cc4.tar.gz
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 <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/util/util.c2
1 files changed, 1 insertions, 1 deletions
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);
}