From 3b595d39a50e38283768bc6ec8aeb9e73071224f Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 28 Aug 2017 15:13:25 +0100 Subject: Get rid of irc::sockets::satoap(). This function is being misused in all but one scenario. It isn't really worth keeping IMO. --- include/socket.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/socket.h') diff --git a/include/socket.h b/include/socket.h index 427ee9fe7..9d6c56a18 100644 --- a/include/socket.h +++ b/include/socket.h @@ -116,14 +116,6 @@ namespace irc * @return true if the conversion was successful, false if not. */ CoreExport bool aptosa(const std::string& addr, int port, irc::sockets::sockaddrs& sa); - - /** Convert a binary sockaddr to an address-port pair - * @param sa The structure to convert - * @param addr the IP address - * @param port the port - * @return true if the conversion was successful, false if unknown address family - */ - CoreExport bool satoap(const irc::sockets::sockaddrs& sa, std::string& addr, int &port); } } -- cgit v1.2.3