Author: gd
Date: 2006-05-12 23:05:01 +0000 (Fri, 12 May 2006)
New Revision: 15552

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

Log:
Fix segfault...

Guenther

Modified:
   branches/SAMBA_3_0/source/client/smbspool.c
   trunk/source/client/smbspool.c


Changeset:
Modified: branches/SAMBA_3_0/source/client/smbspool.c
===================================================================
--- branches/SAMBA_3_0/source/client/smbspool.c 2006-05-12 22:21:44 UTC (rev 
15551)
+++ branches/SAMBA_3_0/source/client/smbspool.c 2006-05-12 23:05:01 UTC (rev 
15552)
@@ -213,6 +213,8 @@
 
   in_client = True;   /* Make sure that we tell lp_load we are */
 
+  load_case_tables();
+
   if (!lp_load(dyn_CONFIGFILE, True, False, False, True))
   {
     fprintf(stderr, "ERROR: Can't load %s - run testparm to debug it\n", 
dyn_CONFIGFILE);

Modified: trunk/source/client/smbspool.c
===================================================================
--- trunk/source/client/smbspool.c      2006-05-12 22:21:44 UTC (rev 15551)
+++ trunk/source/client/smbspool.c      2006-05-12 23:05:01 UTC (rev 15552)
@@ -213,6 +213,8 @@
 
   in_client = True;   /* Make sure that we tell lp_load we are */
 
+  load_case_tables();
+
   if (!lp_load(dyn_CONFIGFILE, True, False, False, True))
   {
     fprintf(stderr, "ERROR: Can't load %s - run testparm to debug it\n", 
dyn_CONFIGFILE);

Reply via email to