diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-05-26 05:58:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:38 -0500 |
commit | 19b1b7b221a980553e4f1472da12d302464bbe77 (patch) | |
tree | 0b94532137e85e1c02c313a5403ad25d57c84a0d /source4 | |
parent | 72209db1a1f76a1ded0e77a9ab4619836f78b529 (diff) | |
download | samba-19b1b7b221a980553e4f1472da12d302464bbe77.tar.gz samba-19b1b7b221a980553e4f1472da12d302464bbe77.tar.bz2 samba-19b1b7b221a980553e4f1472da12d302464bbe77.zip |
r15902: more test code that should be using d_printf()
(This used to be commit b52adaa04564afb7133f442b6f997d99b74dcaa3)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/netlogon.c | 6 |
1 files 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)) { |