* 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:
drbob 2010-09-29 22:53:49 +00:00
parent 1239bf88ee
commit dbbf71788d

View File

@ -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))