svn commit: samba r2570 - in branches/SAMBA_3_0/source/printing: .

jerry at samba.org jerry at samba.org
Thu Sep 23 19:44:04 GMT 2004


Author: jerry
Date: 2004-09-23 19:44:04 +0000 (Thu, 23 Sep 2004)
New Revision: 2570

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/printing&rev=2570&nolog=1

Log:
minor fix with Rob's patch.  use dos_errstr() instead of W_ERROR_V() when using %s in the format string
Modified:
   branches/SAMBA_3_0/source/printing/nt_printing.c


Changeset:
Modified: branches/SAMBA_3_0/source/printing/nt_printing.c
===================================================================
--- branches/SAMBA_3_0/source/printing/nt_printing.c	2004-09-23 19:24:02 UTC (rev 2569)
+++ branches/SAMBA_3_0/source/printing/nt_printing.c	2004-09-23 19:44:04 UTC (rev 2570)
@@ -380,7 +380,7 @@
 
 	win_rc = check_published_printers();
 	if (!W_ERROR_IS_OK(win_rc))
-		DEBUG(3, ("error checking published printers: %s\n", W_ERROR_V(win_rc)));
+		DEBUG(0, ("nt_printing_init: error checking published printers: %s\n", dos_errstr(win_rc)));
 
 	return True;
 }
@@ -2870,7 +2870,7 @@
 
 		win_rc = nt_printer_publish_ads(ads, printer);
 		if (!W_ERROR_IS_OK(win_rc))
-			DEBUG(3, ("error publishing %s: %s\n", printer->info_2->sharename, W_ERROR_V(win_rc)));
+			DEBUG(3, ("error publishing %s: %s\n", printer->info_2->sharename, dos_errstr(win_rc)));
 
 	next:
 		free_a_printer(&printer, 2);



More information about the samba-cvs mailing list