diff options
Diffstat (limited to 'src/win32/windows.cpp')
-rw-r--r-- | src/win32/windows.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/win32/windows.cpp b/src/win32/windows.cpp index a9e0521d0..319bebf58 100644 --- a/src/win32/windows.cpp +++ b/src/win32/windows.cpp @@ -68,10 +68,10 @@ int gettimeofday(timeval *tv, void *) { SYSTEMTIME st; GetSystemTime(&st); - + tv->tv_sec = Anope::CurTime; tv->tv_usec = st.wMilliseconds; - + return 0; } @@ -243,7 +243,7 @@ int mkstemp(char *input) errno = EEXIST; return -1; } - + int fd = open(input, O_WRONLY | O_CREAT, S_IREAD | S_IWRITE); return fd; } |