summaryrefslogtreecommitdiff
path: root/src/win32/windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/windows.cpp')
-rw-r--r--src/win32/windows.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/win32/windows.cpp b/src/win32/windows.cpp
index 9aaa333ff..2a9489437 100644
--- a/src/win32/windows.cpp
+++ b/src/win32/windows.cpp
@@ -1,7 +1,7 @@
-/* POSIX emulation layer for Windows.
+ /* POSIX emulation layer for Windows.
*
- * (C) 2008-2011 Robin Burchell <w00t@inspircd.org>
- * (C) 2008-2017 Anope Team <team@anope.org>
+ * Copyright (C) 2008-2011 Robin Burchell <w00t@inspircd.org>
+ * Copyright (C) 2008-2017 Anope Team <info@anope.org>
*
* Please read COPYING and README for further details.
*
@@ -73,10 +73,10 @@ int gettimeofday(timeval *tv, void *)
{
SYSTEMTIME st;
GetSystemTime(&st);
-
+
tv->tv_sec = Anope::CurTime;
tv->tv_usec = st.wMilliseconds;
-
+
return 0;
}
@@ -248,7 +248,7 @@ int mkstemp(char *input)
errno = EEXIST;
return -1;
}
-
+
int fd = open(input, O_WRONLY | O_CREAT, S_IREAD | S_IWRITE);
return fd;
}