debug: Optimise construction of msg_no_nl
authorMartin Schwenke <martin@meltin.net>
Thu, 14 Oct 2021 00:08:38 +0000 (11:08 +1100)
committerVolker Lendecke <vl@samba.org>
Thu, 14 Oct 2021 11:10:40 +0000 (11:10 +0000)
commita9a3555b43075c46e2051e6c1ef80762a0a19120
tree264310fc0866235e095acc826f61050b85b4cde5
parent62fd771aea4bfb9f3042c80207e9800b74a43f75
debug: Optimise construction of msg_no_nl

If it isn't used then it isn't copied.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Oct 14 11:10:40 UTC 2021 on sn-devel-184
lib/util/debug.c