]> granicus.if.org Git - php/commitdiff
Fixed arguments order
authorDmitry Stogov <dmitry@php.net>
Mon, 18 Aug 2008 09:31:34 +0000 (09:31 +0000)
committerDmitry Stogov <dmitry@php.net>
Mon, 18 Aug 2008 09:31:34 +0000 (09:31 +0000)
TSRM/tsrm_virtual_cwd.c

index e2490835341ea90491abafde1104ffa052e41481..4e953b45d9fab6b239529cf80012aa9ddb9222d5 100644 (file)
@@ -1041,7 +1041,7 @@ static int win32_utime(const char *filename, struct utimbuf *buf) /* {{{ */
                UnixTimeToFileTime(buf->modtime, &mtime);
                UnixTimeToFileTime(buf->actime, &atime);
        }
-       if (!SetFileTime(hFile, NULL,  &mtime, &atime)) {
+       if (!SetFileTime(hFile, NULL, &atime, &mtime)) {
                CloseHandle(hFile);
                return -1;
        }