Commit 9f82e473 authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

wininet: Properly initialize struct.

parent 40c3718d
......@@ -71,6 +71,7 @@ time_t ConvertTimeString(LPCWSTR asctime)
tmpChar[22]='\0';
tmpChar[25]='\0';
memset( &t, 0, sizeof(t) );
t.tm_year = atoiW(tmpChar+12) - 1900;
t.tm_mday = atoiW(tmpChar+5);
t.tm_hour = atoiW(tmpChar+17);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment