summaryrefslogtreecommitdiffstats
path: root/source/client/smbspool.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-10 11:30:37 -0800
committerJeremy Allison <jra@samba.org>2007-12-10 11:30:37 -0800
commit52dc5eaef2106015b3a8b659e818bdb15ad94b05 (patch)
tree4ccb94b3b6f5e061c13bef9a8284637ccadcf8f6 /source/client/smbspool.c
parente81629339589e2e7f464b3dca55730ff2d0877e4 (diff)
downloadsamba-52dc5eaef2106015b3a8b659e818bdb15ad94b05.tar.gz
samba-52dc5eaef2106015b3a8b659e818bdb15ad94b05.tar.xz
samba-52dc5eaef2106015b3a8b659e818bdb15ad94b05.zip
Remove the char[1024] strings from dynconfig. Replace
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy.
Diffstat (limited to 'source/client/smbspool.c')
-rw-r--r--source/client/smbspool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/client/smbspool.c b/source/client/smbspool.c
index 0ba4d57ff57..4270eb42720 100644
--- a/source/client/smbspool.c
+++ b/source/client/smbspool.c
@@ -230,9 +230,9 @@ static char * uri_unescape_alloc(const char *);
load_case_tables();
- if (!lp_load(dyn_CONFIGFILE, True, False, False, True))
+ if (!lp_load(get_dyn_CONFIGFILE(), True, False, False, True))
{
- fprintf(stderr, "ERROR: Can't load %s - run testparm to debug it\n", dyn_CONFIGFILE);
+ fprintf(stderr, "ERROR: Can't load %s - run testparm to debug it\n", get_dyn_CONFIGFILE());
goto done;
}