From 27e891684369a466ded2146aa26b4274cbefed4c Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 24 Aug 2011 11:29:09 +0100 Subject: [PATCH] Another Windows typo-fix. --- simgear/io/raw_socket.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5