diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/param/loadparm.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 768fa41924..990831b1cf 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -122,7 +122,6 @@ static bool defaults_saved = false; char *szLdapGroupSuffix; \ char *szStateDir; \ char *szCacheDir; \ - char *szSocketAddress; \ char *szUsershareTemplateShare; \ char *szIdmapUID; \ char *szIdmapGID; \ @@ -5359,21 +5358,6 @@ int lp_min_receive_file_size(void) } /******************************************************************* - If socket address is an empty character string, it is necessary to - define it as "0.0.0.0". -********************************************************************/ - -const char *lp_socket_address(void) -{ - char *sock_addr = Globals.szSocketAddress; - - if (sock_addr[0] == '\0'){ - string_set(&Globals.szSocketAddress, "0.0.0.0"); - } - return Globals.szSocketAddress; -} - -/******************************************************************* Safe wide links checks. This helper function always verify the validity of wide links, even after a configuration file reload. |