From 474758956cd73be0b5eea1070f9259608c12a4e6 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 5 Mar 2004 18:37:01 +0000 Subject: BUG 488: fix the 'show client in col 1' button and corrctely enumerate active connections (This used to be commit d77d38560d1bdc10a58408f449fbc320275bcacc) --- source3/web/statuspage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/web/statuspage.c') 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); -- cgit