svn commit: samba r15902 - in branches/SAMBA_4_0/source/torture/rpc: .

tridge at samba.org tridge at samba.org
Fri May 26 05:58:24 GMT 2006


Author: tridge
Date: 2006-05-26 05:58:23 +0000 (Fri, 26 May 2006)
New Revision: 15902

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15902

Log:

more test code that should be using d_printf()

Modified:
   branches/SAMBA_4_0/source/torture/rpc/netlogon.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/netlogon.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/netlogon.c	2006-05-26 05:29:57 UTC (rev 15901)
+++ branches/SAMBA_4_0/source/torture/rpc/netlogon.c	2006-05-26 05:58:23 UTC (rev 15902)
@@ -820,7 +820,7 @@
 		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 @@
 		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)) {



More information about the samba-cvs mailing list