summaryrefslogtreecommitdiffstats
path: root/source/param/loadparm.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-06 18:14:56 +0000
committerJeremy Allison <jra@samba.org>1998-04-06 18:14:56 +0000
commitcf15b3bd74a262e7af3d739a83ef7b43df4935e5 (patch)
treee08aff739325c111aa543f361ffc7c2aff77bdd7 /source/param/loadparm.c
parente6a083451f8785fa1c00314a958007fe96fcc039 (diff)
downloadsamba-cf15b3bd74a262e7af3d739a83ef7b43df4935e5.tar.gz
samba-cf15b3bd74a262e7af3d739a83ef7b43df4935e5.tar.xz
samba-cf15b3bd74a262e7af3d739a83ef7b43df4935e5.zip
loadparm.c: Cause IPC$ comment to be evaluated at runtime, rather than
load time (patch from "Marty Leisner" <leisner@sdsp.mc.xerox.com>. server.c: Patch from Josef Hinteregger <joehtg@joehtg.co.at> - string could be overwritten when find_service() called recursively. Jeremy.
Diffstat (limited to 'source/param/loadparm.c')
-rw-r--r--source/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index 20479bf96d4..837632788e8 100644
--- a/source/param/loadparm.c
+++ b/source/param/loadparm.c
@@ -1232,7 +1232,7 @@ static BOOL lp_add_ipc(void)
if (i < 0)
return(False);
- sprintf(comment,"IPC Service (%s)",lp_serverstring());
+ sprintf(comment,"IPC Service (%s)", Globals.szServerString );
string_set(&iSERVICE(i).szPath,tmpdir());
string_set(&iSERVICE(i).szUsername,"");