mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
BUG 488: fix the 'show client in col 1' button and corrctely enumerate active connections
This commit is contained in:
parent
df19b6066e
commit
d77d38560d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user