mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-26 09:41:29 -05:00
* BUGFIX. bdId comparison was wrong... fixed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3565 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1239bf88ee
commit
dbbf71788d
@ -156,8 +156,8 @@ int operator==(const bdNodeId &a, const bdNodeId &b)
|
|||||||
|
|
||||||
int operator==(const bdId &a, const bdId &b)
|
int operator==(const bdId &a, const bdId &b)
|
||||||
{
|
{
|
||||||
if (a.id == b.id)
|
if (!(a.id == b.id))
|
||||||
return 1;
|
return 0;
|
||||||
|
|
||||||
if ((a.addr.sin_addr.s_addr == b.addr.sin_addr.s_addr) &&
|
if ((a.addr.sin_addr.s_addr == b.addr.sin_addr.s_addr) &&
|
||||||
(a.addr.sin_port == b.addr.sin_port))
|
(a.addr.sin_port == b.addr.sin_port))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user