summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-05 18:37:32 +0000
committerGerald Carter <jerry@samba.org>2004-03-05 18:37:32 +0000
commit21c4e30fccbf7207ccad28fb188839e0635290ba (patch)
tree058c1c361a11985787b751ce8591abb1ba6563de
parent2aaba6696cca6a0579ff301b3d0e31efc041efb3 (diff)
downloadsamba-21c4e30fccbf7207ccad28fb188839e0635290ba.tar.gz
samba-21c4e30fccbf7207ccad28fb188839e0635290ba.tar.bz2
samba-21c4e30fccbf7207ccad28fb188839e0635290ba.zip
BUG 488: fix the 'show client in col 1' button and corrctely enumerate active connections
(This used to be commit f0e454f6eb3ed25c3210f288d48044b3eed9d129)
-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);