1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/net/sipxportlib/files/patch-src_os_OsServerSocket.cpp
Martin Wilke 69c26a938c sipXportLib is a library of general purpose utilities and OS
abstraction APIs.  It is a necessary dependancy of the sipX project.

WWW: http://sipx-wiki.calivia.com/index.php/Main_Page

PR:		ports/107931
Submitted by:	Michael Durian <durian at shadetreesoftware.com>
2007-02-01 22:25:32 +00:00

13 lines
608 B
C++

--- ./src/os/OsServerSocket.cpp.orig Tue Jan 2 17:41:00 2007
+++ ./src/os/OsServerSocket.cpp Tue Jan 2 18:00:22 2007
@@ -142,7 +142,8 @@
{
error = OsSocketGetERRNO();
OsSysLog::add(FAC_KERNEL, PRI_ERR,
- "OsServerSocket: bind to port %d failed with error: %d = 0x%x",
+ "OsServerSocket: bind to port %s:%d failed with error: %d = 0x%x",
+ inet_ntoa(localAddr.sin_addr),
((PORT_DEFAULT == serverPort) ? 0 : serverPort), error, error);
socketDescriptor = OS_INVALID_SOCKET_DESCRIPTOR;
goto EXIT;