From 301ffe1048fb23548f72759b6ed0ca98e9109ff4 Mon Sep 17 00:00:00 2001 From: David Athay Date: Tue, 26 Jun 2007 19:50:02 +0000 Subject: Merged guilds-and-parties branch to trunk --- src/net/netcomputer.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/net/netcomputer.cpp') diff --git a/src/net/netcomputer.cpp b/src/net/netcomputer.cpp index 47d7ea1..345b408 100644 --- a/src/net/netcomputer.cpp +++ b/src/net/netcomputer.cpp @@ -92,10 +92,11 @@ operator <<(std::ostream &os, const NetComputer &comp) << ((comp.mPeer->address.host & 0xff000000) >> 24); else // big-endian - os << ((comp.mPeer->address.host & 0xff000000) >> 24) << "." - << ((comp.mPeer->address.host & 0x00ff0000) >> 16) << "." - << ((comp.mPeer->address.host & 0x0000ff00) >> 8) << "." - << ((comp.mPeer->address.host & 0x000000ff) >> 0); + // TODO: test this + os << ((comp.mPeer->address.host & 0xff000000) >> 24) << "." + << ((comp.mPeer->address.host & 0x00ff0000) >> 16) << "." + << ((comp.mPeer->address.host & 0x0000ff00) >> 8) << "." + << ((comp.mPeer->address.host & 0x000000ff)); return os; } -- cgit