summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-21 20:47:02 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-21 20:47:02 +0000
commitd29ca254a4a9062ecaffe9395454f3a654d4e06a (patch)
treeb4af3499f3e3a341f1fcadaf21228b592a84dd78 /include
parent8a11f8ecddaaf6c8162d93a28d924fe0b566332c (diff)
Remove unneeded save of errno
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12309 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/socket.h b/include/socket.h
index cad14499e..91a10d1f9 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -138,7 +138,7 @@ class CoreExport ListenSocket : public EventHandler
std::string bind_desc;
/** Create a new listening socket
*/
- ListenSocket(ConfigTag* tag, const std::string& addr, int port);
+ ListenSocket(ConfigTag* tag, const irc::sockets::sockaddrs& bind_to);
/** Handle an I/O event
*/
void HandleEvent(EventType et, int errornum = 0);