1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

BUG 488: fix the 'show client in col 1' button and corrctely enumerate active connections

(This used to be commit d77d38560d1bdc10a58408f449fbc320275bcacc)
This commit is contained in:
Gerald Carter 2004-03-05 18:37:01 +00:00
parent cb49c07c98
commit 474758956c

View File

@ -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);