From 19b1b7b221a980553e4f1472da12d302464bbe77 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 26 May 2006 05:58:23 +0000 Subject: r15902: more test code that should be using d_printf() (This used to be commit b52adaa04564afb7133f442b6f997d99b74dcaa3) --- source4/torture/rpc/netlogon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 71bd8b097f..386d4d2378 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -820,7 +820,7 @@ static BOOL test_GetDcName(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) return False; } - printf("\tDC is at '%s'\n", r.out.dcname); + d_printf("\tDC is at '%s'\n", r.out.dcname); return True; } @@ -1134,14 +1134,14 @@ static BOOL test_netr_DsRGetSiteName(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, ret = False; } else { if (strcmp(expected_site, r.out.site) != 0) { - printf("netr_DsRGetSiteName - unexpected result: %s, expected %s\n", + d_printf("netr_DsRGetSiteName - unexpected result: %s, expected %s\n", r.out.site, expected_site); ret = False; } } r.in.computer_name = talloc_asprintf(mem_ctx, "\\\\%s", computer_name); - printf("Testing netr_DsRGetSiteName with broken computer name: %s\n", r.in.computer_name); + d_printf("Testing netr_DsRGetSiteName with broken computer name: %s\n", r.in.computer_name); status = dcerpc_netr_DsRGetSiteName(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { -- cgit