From 034a12fdcb6f707b382d9da481bc012a3c49da76 Mon Sep 17 00:00:00 2001 From: "Christopher R. Hertel" Date: Thu, 22 Oct 1998 18:07:39 +0000 Subject: Minor change. The debug_browse_data() function does a hex dump of a browser packet. The last line is often not a full 16 bytes, which would miss-align the hex output. I've added the padding needed to align the hex output. Chris -)----- (This used to be commit 9f9b30abab118f0a2e007beddd79de38a2d5ea29) --- source3/nmbd/nmbd_packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index a515ea548e..b0ef96f694 100644 --- a/source3/nmbd/nmbd_packets.c +++ b/source3/nmbd/nmbd_packets.c @@ -114,7 +114,7 @@ static void debug_browse_data(char *outbuf, int len) DEBUGADD( 4, ( "%c", x ) ); } - DEBUGADD( 4, ( " hex ") ); + DEBUGADD( 4, ( "%*s hex ", 16-j, "" ) ); for (j = 0; j < 16; j++) { -- cgit