summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-07-08 10:55:44 +0100
committerPeter Powell <petpow@saberuk.com>2015-07-08 11:06:02 +0100
commit1666b1a8d8d629fd4ea89b083863dc217154eee9 (patch)
treeb1e38d447c34fee25229945c2dd160b56683d026 /src/win32
parent4362f53cc38177039d6f6b86565e73800e7b5390 (diff)
Fix a ton of typos.
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/socket.cpp2
-rw-r--r--src/win32/windows.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/socket.cpp b/src/win32/socket.cpp
index d481515d3..211999f9a 100644
--- a/src/win32/socket.cpp
+++ b/src/win32/socket.cpp
@@ -51,7 +51,7 @@ int windows_accept(int fd, struct sockaddr *addr, int *addrlen)
* @param af The protocol type, AF_INET or AF_INET6
* @param src The address
* @param dst Struct to put results in
- * @return 1 on sucess, -1 on error
+ * @return 1 on success, -1 on error
*/
int windows_inet_pton(int af, const char *src, void *dst)
{
diff --git a/src/win32/windows.cpp b/src/win32/windows.cpp
index 3ef1bcfa9..997260581 100644
--- a/src/win32/windows.cpp
+++ b/src/win32/windows.cpp
@@ -194,7 +194,7 @@ Anope::string GetWindowsVersion()
buf = "Microsoft Windows 98" + extra;
}
if (osvi.dwMajorVersion == 4 && osvi.dwMinorVersion == 90)
- buf = "Microsoft Windows Millenium Edition";
+ buf = "Microsoft Windows Millennium Edition";
}
return buf;
}