mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[kernel]
- Fail in DosDateTimeToFileTime if prior time conversion was unsuccessful - Should fix the NetStats installation, bug #4917, part 2 svn path=/trunk/; revision=44345
This commit is contained in:
@@ -318,7 +318,10 @@ DosDateTimeToFileTime(WORD wFatDate,
|
||||
SystemTime.wMonth = pddate->Month;
|
||||
SystemTime.wYear = 1980 + pddate->Year;
|
||||
|
||||
SystemTimeToFileTime(&SystemTime,lpFileTime);
|
||||
if (SystemTimeToFileTime(&SystemTime, lpFileTime) == FALSE)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user