mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
Remove the char[1024] strings from dynconfig. Replace
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
(This used to be commit 52dc5eaef2
)
This commit is contained in:
@ -6900,15 +6900,15 @@ smbc_init_context(SMBCCTX *context)
|
||||
|
||||
if (!conf_loaded) {
|
||||
/*
|
||||
* Well, if that failed, try the dyn_CONFIGFILE
|
||||
* Well, if that failed, try the get_dyn_CONFIGFILE
|
||||
* Which points to the standard locn, and if that
|
||||
* fails, silently ignore it and use the internal
|
||||
* defaults ...
|
||||
*/
|
||||
|
||||
if (!lp_load(dyn_CONFIGFILE, True, False, False, False)) {
|
||||
if (!lp_load(get_dyn_CONFIGFILE(), True, False, False, False)) {
|
||||
DEBUG(5, ("Could not load config file: %s\n",
|
||||
dyn_CONFIGFILE));
|
||||
get_dyn_CONFIGFILE()));
|
||||
} else if (home) {
|
||||
char *conf;
|
||||
/*
|
||||
|
Reference in New Issue
Block a user