diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-30 20:23:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-30 20:23:15 +0000 |
commit | b5c983ca55f9a46863904db0afd8f6add63d1a45 (patch) | |
tree | 2a10b9ac455a1d43ae90e7cae753b7f4c920d053 | |
parent | fad4a47bc6e17df10b04dad6066d971e936dcc55 (diff) |
Add strerror(errno) to port bind failure on TreeSocket
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6461 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp index d2c00cba0..6b83a17a3 100644 --- a/src/modules/m_spanningtree/utils.cpp +++ b/src/modules/m_spanningtree/utils.cpp @@ -366,7 +366,7 @@ void SpanningTreeUtilities::ReadConfiguration(bool rebind) } else { - ServerInstance->Log(DEFAULT,"m_spanningtree: Warning: Failed to bind server port %s:%d",IP.c_str(), portno); + ServerInstance->Log(DEFAULT,"m_spanningtree: Warning: Failed to bind server port %s:%d: %s",IP.c_str(), portno, strerror(errno)); listener->Close(); DELETE(listener); } |