summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-09-05 21:32:32 +0000
committerJeremy Allison <jra@samba.org>1997-09-05 21:32:32 +0000
commite7e49a6e6a1e7d5b1bc64563f29e7cebd5d8e01f (patch)
treec1b53d117a2c9a13de5a0025cb385ed818f3633c /source3/utils
parent4cbe451107286f0c7cbbae84b5cff0685a611c8d (diff)
downloadsamba-e7e49a6e6a1e7d5b1bc64563f29e7cebd5d8e01f.tar.gz
samba-e7e49a6e6a1e7d5b1bc64563f29e7cebd5d8e01f.tar.bz2
samba-e7e49a6e6a1e7d5b1bc64563f29e7cebd5d8e01f.zip
client.c: Made sure myhostname was initialised before substitutions.
status.c: Made sure myhostname was initialised before substitutions. server.c trans2.c: Moved OS/2 WPS fix. Jeremy (jallison@whistle.com) (This used to be commit 8a12b6a4f0feec712f5c4e02e21198c455b060ae)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index b439741e6c..6fa85c0a63 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -188,13 +188,13 @@ locking version (was %d, should be %d).\n",fname,
}
}
+ get_myname(myhostname, NULL);
+
if (!lp_load(servicesf,False)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n", servicesf);
return (-1);
}
- get_myname(myhostname, NULL);
-
if (verbose) {
printf("using configfile = %s\n", servicesf);
printf("lockdir = %s\n", *lp_lockdir() ? lp_lockdir() : "NULL");