mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 09:26:18 -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)
|
||||
{
|
||||
if (a.id == b.id)
|
||||
return 1;
|
||||
if (!(a.id == b.id))
|
||||
return 0;
|
||||
|
||||
if ((a.addr.sin_addr.s_addr == b.addr.sin_addr.s_addr) &&
|
||||
(a.addr.sin_port == b.addr.sin_port))
|
||||
|
Loading…
Reference in New Issue
Block a user