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