debug: slprintf->snprintf
authorVolker Lendecke <vl@samba.org>
Tue, 29 Jul 2014 15:09:00 +0000 (15:09 +0000)
committerMichael Adam <obnox@samba.org>
Thu, 31 Jul 2014 16:49:47 +0000 (18:49 +0200)
commitcff585b6e2dff316c9478d470e11aa69faf0f4d5
tree3101390c688ddd8cf96f5e3ebc1f05dce3f027eb
parent601b2b04530445344255992ebf6fb08a5ccf6eaa
debug: slprintf->snprintf

snprintf does not need the -1 in sizeof(buf)-1

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