summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:08:30 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:08:30 +0000
commit16b8e22615e6b3351b47d13e0540600fa590d0cb (patch)
treeb98c6a8647ea0e0668a88d3afe293a09a477cc19 /include/socket.h
parentf3515fa3a48f28890d14032df9336dd6ee473e56 (diff)
Use a bool return type for boolean return
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11585 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/socket.h b/include/socket.h
index a2b727499..593550018 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -107,14 +107,14 @@ namespace irc
* @param sa The structure to place the result in. Will be zeroed prior to conversion
* @return true if the conversion was successful, false if not.
*/
- CoreExport int aptosa(const char* addr, int port, irc::sockets::sockaddrs* sa);
+ CoreExport bool aptosa(const char* 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 int satoap(const irc::sockets::sockaddrs* sa, std::string& addr, int &port);
+ CoreExport bool satoap(const irc::sockets::sockaddrs* sa, std::string& addr, int &port);
}
}