summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-05 18:37:01 +0000
committerGerald Carter <jerry@samba.org>2004-03-05 18:37:01 +0000
commit474758956cd73be0b5eea1070f9259608c12a4e6 (patch)
tree8cbc0d071a3d21be29317b8055132dd556be4abc /source3/web
parentcb49c07c98fcc2c5e89643cb2cf7d0417c69114a (diff)
downloadsamba-474758956cd73be0b5eea1070f9259608c12a4e6.tar.gz
samba-474758956cd73be0b5eea1070f9259608c12a4e6.tar.bz2
samba-474758956cd73be0b5eea1070f9259608c12a4e6.zip
BUG 488: fix the 'show client in col 1' button and corrctely enumerate active connections
(This used to be commit d77d38560d1bdc10a58408f449fbc320275bcacc)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/statuspage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/statuspage.c b/source3/web/statuspage.c
index 9ce9c05b19..3d70796830 100644
--- a/source3/web/statuspage.c
+++ b/source3/web/statuspage.c
@@ -177,7 +177,7 @@ static int traverse_fn2(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, void* st
memcpy(&crec, dbuf.dptr, sizeof(crec));
- if (crec.cnum != -1 || !process_exists(crec.pid) || (crec.pid == smbd_pid))
+ if (crec.cnum == -1 || !process_exists(crec.pid) || (crec.pid == smbd_pid))
return 0;
addPid2Machine (crec.pid, crec.machine);