From 4c20275f51c68e3ff66a96621e578ec18c47e254 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 31 Aug 2004 18:34:52 +0000 Subject: r2135: BUG 1464: make sure that printing commands are initialized even if the 'printing' parameter is not explicitly set (This used to be commit 8ae57a8e8d7334bc0feb2c8afb673bd5c53bffca) --- source3/param/loadparm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index e6bc01ff3f..468b4c8f27 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1299,6 +1299,8 @@ static void init_globals(void) string_set(&sDefault.fstype, FSTYPE_STRING); + init_printer_values(&sDefault); + done_init = True; } @@ -3952,9 +3954,6 @@ BOOL lp_load(const char *pszFname, BOOL global_only, BOOL save_defaults, } init_iconv(); -#if 0 /* JERRY */ - init_printer_values(&sDefault); -#endif return (bRetval); } -- cgit