summaryrefslogtreecommitdiff
path: root/include/dns.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-09-17 19:20:07 -0400
committerAdam <Adam@anope.org>2010-09-17 19:20:07 -0400
commit227909e2cf0039737dc52872651837fe5f1702b5 (patch)
treeb8a7072c7d938ea66d9710a48d717b3eb76343de /include/dns.h
parentf71fb6e8133da955a58b1cca00013ce20c0b65cc (diff)
Rejig of some of the socket stuff. Fixed marking sockets as nonblocking on Windows. Added in a LastError function to keep having to use strerror/GetLastError everywhere.
Diffstat (limited to 'include/dns.h')
-rw-r--r--include/dns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dns.h b/include/dns.h
index 51960b0f4..4f61ef909 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -134,7 +134,7 @@ class DNSSocket : public ClientSocket
int SendTo(const unsigned char *buf, size_t len) const;
int RecvFrom(char *buf, size_t size, sockaddrs &addrs) const;
public:
- DNSSocket(const Anope::string &nTargetHost, int nPort);
+ DNSSocket(const Anope::string &nTargetHost, int Port);
virtual ~DNSSocket();
bool ProcessRead();