From c707e00195f1035ae535f3fc8697af42e73190c0 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 29 Nov 2010 10:52:07 +0200 Subject: =?UTF-8?q?sit=C3=A4=20sun=20t=C3=A4t=C3=A4=20tekeill=C3=A4,=20toi?= =?UTF-8?q?mii=20kivasti?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/socket.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/socket.cpp') diff --git a/src/socket.cpp b/src/socket.cpp index 91b2ef73a..88ba78c6a 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -164,7 +164,9 @@ void UDPSocket::Bind(unsigned short port) if(bind(m_handle, (const sockaddr*)&address, sizeof(sockaddr_in)) < 0) { +#ifndef DISABLE_ERRNO dstream<<(int)m_handle<<": Bind failed: "<