diff options
author | Gerald Carter <jerry@samba.org> | 2004-03-05 18:37:01 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-03-05 18:37:01 +0000 |
commit | 474758956cd73be0b5eea1070f9259608c12a4e6 (patch) | |
tree | 8cbc0d071a3d21be29317b8055132dd556be4abc /source3/web/statuspage.c | |
parent | cb49c07c98fcc2c5e89643cb2cf7d0417c69114a (diff) | |
download | samba-474758956cd73be0b5eea1070f9259608c12a4e6.tar.gz samba-474758956cd73be0b5eea1070f9259608c12a4e6.tar.xz 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/statuspage.c')
-rw-r--r-- | source3/web/statuspage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/statuspage.c b/source3/web/statuspage.c index 9ce9c05b19f..3d70796830d 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); |