]> git.llucax.com Git - software/posixx.git/commit
Fix tipc::sockaddr::operator == ()
authorLeandro Lucarella <llucarella@integratech.com.ar>
Fri, 27 Feb 2009 18:15:33 +0000 (16:15 -0200)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Fri, 27 Feb 2009 18:46:16 +0000 (16:46 -0200)
commit11f96e553f3214bd668fecc088d36529d4805e4a
treee092ffde4432d4dafb7415623d5e0a88700a713d
parent8e9d621e4cf9a60cbf238df92fc60022a1d941cd
Fix tipc::sockaddr::operator == ()

Since sockaddr_tipc has an union, a memcmp() is not enough for comparison,
because a currently unused chunk of memory could be different but the
addresses are conceptually the same.
src/linux/tipc.hpp