]> git.ipfire.org Git - thirdparty/samba.git/commit
libcli: avoid work in security token debug no-op
authorVolker Lendecke <vl@samba.org>
Mon, 14 Oct 2024 11:29:21 +0000 (13:29 +0200)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 27 Feb 2025 00:02:38 +0000 (00:02 +0000)
commitb25e63710eb247a03cc2da99f44eace6cda2c50d
tree87c0f5dbec0706f078920522f2fb536589ba7496
parent7e083a6b3a12933b79ef19ccbd4c13bfa0203498
libcli: avoid work in security token debug no-op

When the debug level is too low to print, we don't need to allocate
the strings.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15737

Signed-off-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Pair-programmed-with: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
libcli/security/security_token.c