svn commit: samba r2135 - in branches/SAMBA_3_0/source/param: .

jerry at samba.org jerry at samba.org
Tue Aug 31 18:34:52 GMT 2004


Author: jerry
Date: 2004-08-31 18:34:52 +0000 (Tue, 31 Aug 2004)
New Revision: 2135

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

Log:
BUG 1464: make sure that printing commands are initialized even if the 'printing' parameter is not explicitly set
Modified:
   branches/SAMBA_3_0/source/param/loadparm.c


Changeset:
Modified: branches/SAMBA_3_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_3_0/source/param/loadparm.c	2004-08-31 16:24:50 UTC (rev 2134)
+++ branches/SAMBA_3_0/source/param/loadparm.c	2004-08-31 18:34:52 UTC (rev 2135)
@@ -1299,6 +1299,8 @@
 
 		string_set(&sDefault.fstype, FSTYPE_STRING);
 
+		init_printer_values(&sDefault);
+
 		done_init = True;
 	}
 
@@ -3952,9 +3954,6 @@
 	}
 
 	init_iconv();
-#if 0	/* JERRY */
-	init_printer_values(&sDefault);
-#endif
 
 	return (bRetval);
 }



More information about the samba-cvs mailing list