wininet: Ensure null check before dereference.

This commit is contained in:
Jeff Latimer 2007-01-05 11:54:26 +11:00 committed by Alexandre Julliard
parent b530ac97fb
commit d7697bd55e
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ time_t ConvertTimeString(LPCWSTR asctime)
struct tm t;
int timelen = strlenW(asctime);
if(!asctime || !timelen)
if(!timelen)
return 0;
/* FIXME: the atoiWs below rely on that tmpChar is \0 padded */