From f46690194563521ac978525c593a858b1b8a5947 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 11 Sep 2006 01:22:28 +0000 Subject: r18352: printf("%s") is not safe for NULL strings on all platforms, but d_printf() is. This fixes a crash on solaris (This used to be commit 52d156671158fa25d3a84a46c98ca1d81e4a18d1) --- source4/torture/rpc/srvsvc.c | 110 +++++++++++++++++++++---------------------- 1 file changed, 55 insertions(+), 55 deletions(-) (limited to 'source4') diff --git a/source4/torture/rpc/srvsvc.c b/source4/torture/rpc/srvsvc.c index f0e332ee20..685a71cfa3 100644 --- a/source4/torture/rpc/srvsvc.c +++ b/source4/torture/rpc/srvsvc.c @@ -43,17 +43,17 @@ static BOOL test_NetCharDevGetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, for (i=0;i