init mMDTM to be safe (bug 126468; submitted by mcs, r=bbaetz, sr=darin, a=Asa)

This commit is contained in:
brade%netscape.com 2002-03-26 14:11:27 +00:00
parent 790ea573f3
commit bdeb4a5e64

View File

@ -683,7 +683,10 @@ nsFTPDirListingConv::ParseLSLine(char *aLine, indexEntry *aEntry) {
}
escName = nsEscape(aLine, url_Path);
aEntry->mName.Adopt(escName);
// initialize the time struct to 0 to be safe
InitPRExplodedTime(aEntry->mMDTM);
return NS_OK;
}