mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
smbd: Fix CID 1035434 Same on both sides
Looks scary, but the only effect of this bug is too many UNLOCK messages Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
This commit is contained in:
parent
43ac7e81ec
commit
c85deeed32
@ -2222,7 +2222,7 @@ static int compare_procids(const void *p1, const void *p2)
|
|||||||
const struct server_id *i2 = (const struct server_id *)p2;
|
const struct server_id *i2 = (const struct server_id *)p2;
|
||||||
|
|
||||||
if (i1->pid < i2->pid) return -1;
|
if (i1->pid < i2->pid) return -1;
|
||||||
if (i2->pid > i2->pid) return 1;
|
if (i1->pid > i2->pid) return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user