StanfordSNR / gg

The Stanford Builder
GNU General Public License v3.0
988 stars 71 forks source link

flag test should be &? #34

Closed photoszzt closed 5 years ago

photoszzt commented 5 years ago

https://github.com/StanfordSNR/gg/blob/febdf22643655bf9a89f7ddc8b5849dc7e8f4d9e/src/net/address.cc#L73 With |, it won't be 0. Should it be &?

sadjad commented 5 years ago

Nice catch! I just fixed it in af07aa5943abf8a5ce3b4b0e0597969016f1e9f3.