summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-02-28 18:01:33 +0000
committerGerald Carter <jerry@samba.org>2003-02-28 18:01:33 +0000
commit6f75a66b1f2d87a983a2fbca641835b3fd30bc0b (patch)
treebcbb78b93959cf98f893804636842de61c2b9181
parentd829346afe858e9f721b1dd2d6f8f9c72c89ddf8 (diff)
downloadsamba-6f75a66b1f2d87a983a2fbca641835b3fd30bc0b.tar.gz
reverting patch back to localhost in smbd_running()
-rw-r--r--source/web/diagnose.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/web/diagnose.c b/source/web/diagnose.c
index 50c335c0f9d..efe1ef5a2c4 100644
--- a/source/web/diagnose.c
+++ b/source/web/diagnose.c
@@ -22,8 +22,6 @@
#include "includes.h"
#include "smb.h"
-extern pstring global_myname;
-
/* check to see if nmbd is running on localhost by looking for a __SAMBA__
response */
@@ -59,7 +57,7 @@ BOOL smbd_running(void)
if (!cli_initialise(&cli))
return False;
- if (!cli_connect(&cli, global_myname, &loopback_ip)) {
+ if (!cli_connect(&cli, "localhost", &loopback_ip)) {
cli_shutdown(&cli);
return False;
}