summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/socket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index d8e710d56..092751ec8 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -211,7 +211,7 @@ int InspIRCd::BindPorts(FailedPortList &failed_ports)
return bound;
}
-int irc::sockets::aptosa(const char* addr, int port, irc::sockets::sockaddrs* sa)
+bool irc::sockets::aptosa(const char* addr, int port, irc::sockets::sockaddrs* sa)
{
memset(sa, 0, sizeof(*sa));
if (!addr || !*addr)
@@ -240,7 +240,7 @@ int irc::sockets::aptosa(const char* addr, int port, irc::sockets::sockaddrs* sa
return false;
}
-int irc::sockets::satoap(const irc::sockets::sockaddrs* sa, std::string& addr, int &port) {
+bool irc::sockets::satoap(const irc::sockets::sockaddrs* sa, std::string& addr, int &port) {
char addrv[INET6_ADDRSTRLEN+1];
if (sa->sa.sa_family == AF_INET)
{