svn commit: samba r2136 - in trunk/source/param: .

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


Author: jerry
Date: 2004-08-31 18:39:31 +0000 (Tue, 31 Aug 2004)
New Revision: 2136

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

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


Changeset:
Modified: trunk/source/param/loadparm.c
===================================================================
--- trunk/source/param/loadparm.c	2004-08-31 18:34:52 UTC (rev 2135)
+++ trunk/source/param/loadparm.c	2004-08-31 18:39:31 UTC (rev 2136)
@@ -1319,6 +1319,8 @@
 
 		string_set(&sDefault.fstype, FSTYPE_STRING);
 
+		init_printer_values(&sDefault);
+
 		done_init = True;
 	}
 
@@ -3982,9 +3984,6 @@
 	}
 
 	init_iconv();
-#if 0	/* JERRY */
-	init_printer_values(&sDefault);
-#endif
 
 	return (bRetval);
 }



More information about the samba-cvs mailing list