Another Windows typo-fix.

This commit is contained in:
James Turner
2011-08-24 11:29:09 +01:00
parent fa27207351
commit 27e8916843

View File

@@ -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;
}