diff options
author | pippijn <pippijn@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-12 21:04:37 +0000 |
---|---|---|
committer | pippijn <pippijn@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-12 21:04:37 +0000 |
commit | 5ca2a6ffdb4dbb7f7d8f120df5f99d85d484b3ab (patch) | |
tree | 7f0c6adc6bef711f39aec20f3a5eef352990b9c4 /include/socket.h | |
parent | 6f76451a5ce7371f4f9dfb459debe56f745fd433 (diff) |
for real
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9898 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socket.h')
-rw-r--r-- | include/socket.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/socket.h b/include/socket.h index e6ea1615d..a26c1256d 100644 --- a/include/socket.h +++ b/include/socket.h @@ -33,7 +33,7 @@ #endif -#include <errno.h> +#include <cerrno> #include "socketengine.h" /* Contains irc-specific definitions */ @@ -69,7 +69,7 @@ namespace irc #endif /** Match raw binary data using CIDR rules. - * + * * This function will use binary comparison to compare the * two bit sequences, address and mask, up to mask_bits * bits in size. If they match, it will return true. @@ -108,7 +108,7 @@ namespace irc CoreExport bool MatchCIDR(const std::string &address, const std::string &cidr_mask, bool match_with_username); /** Convert an insp_inaddr into human readable form. - * + * * @param n An insp_inaddr (IP address) structure * @return A human-readable address. IPV6 addresses * will be shortened to remove fields which are 0. @@ -116,7 +116,7 @@ namespace irc CoreExport const char* insp_ntoa(insp_inaddr n); /** Convert a human-readable address into an insp_inaddr. - * + * * @param a A human-readable address * @param n An insp_inaddr struct which the result * will be copied into on success. |