From: James Turner Date: Wed, 24 Aug 2011 10:29:09 +0000 (+0100) Subject: Another Windows typo-fix. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=27e891684369a466ded2146aa26b4274cbefed4c;p=simgear.git Another Windows typo-fix. --- diff --git a/simgear/io/raw_socket.cxx b/simgear/io/raw_socket.cxx index ecc8671f..aaa7d871 100644 --- a/simgear/io/raw_socket.cxx +++ b/simgear/io/raw_socket.cxx @@ -329,7 +329,7 @@ int Socket::bind ( const char* host, int port ) } } #if defined(WINSOCK) - else if( (result = ::bind(handle,addr->getAddr(), addr->getAddrLen())) < 0 ) { + else if( (result = ::bind(handle,addr.getAddr(), addr.getAddrLen())) < 0 ) { SG_LOG(SG_IO, SG_ALERT, "bind(" << host << ":" << port << ") failed. Errno " << errno << " (" << strerror(errno) << ")"); return result; }