mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +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:
parent
cb49c07c98
commit
474758956c
@ -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