debug: Simplify Debug1() -- no va_args
authorVolker Lendecke <vl@samba.org>
Tue, 29 Jul 2014 16:04:25 +0000 (16:04 +0000)
committerMichael Adam <obnox@samba.org>
Thu, 31 Jul 2014 16:49:47 +0000 (18:49 +0200)
commit610bb4a1085681bd850d17735d499798fb3c627f
treef3055fb00c45e3fe9911123c1886e3542df659c4
parent138a65c12a8dd4a59b503180fa5aaff7386c1e4b
debug: Simplify Debug1() -- no va_args

All callers just have "%s" as format string now, so we don't need to
vasprintf anymore.

This could speed up DEBUG a bit, we don't do a separate copy and the
printf logic

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/util/debug.c