From: Alan T. DeKok Date: Tue, 26 Mar 2019 00:56:46 +0000 (-0400) Subject: indent debug messages X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a45e18eb77f46287c8cce2c7a1f5423a281df176;p=thirdparty%2Ffreeradius-server.git indent debug messages --- diff --git a/src/lib/util/trie.c b/src/lib/util/trie.c index d35d226d4d7..0970e46a143 100644 --- a/src/lib/util/trie.c +++ b/src/lib/util/trie.c @@ -1338,14 +1338,16 @@ static void fr_trie_check(fr_trie_t *trie, uint8_t const *key, int start_bit, in fr_strerror_printf("Failed trie check answer at %d", lineno); // print out the current trie! - MPRINT3("Failed to find user data from start %d end %d at %d\n", start_bit, end_bit, lineno); + MPRINT3("%.*sFailed to find user data %s from start %d end %d at %d\n", start_bit, spaces, data, + start_bit, end_bit, lineno); fr_cond_assert(0); } if (answer != data) { fr_strerror_printf("Failed trie check answer == data at %d", lineno); - MPRINT3("Found wrong user data from start %d end %d at %d\n", start_bit, end_bit, lineno); + MPRINT3("%.*sFound wrong user data %s != %s, from start %d end %d at %d\n", start_bit, spaces, + answer, data, start_bit, end_bit, lineno); fr_cond_assert(0); } }