{ PR_FREEIF(tDir); return (new nsFileSpec("mozmail.tmp")); }
return nsnull;
nsMsgCreateTempFileSpec(char *tFileName){  if ((!tFileName) || (!*tFileName))    tFileName = "nsmail.tmp";  // Age old question, where to store temp files....ugh!  char  *tDir = GetTheTempDirectoryOnTheSystem();  if (!tDir)    return (new nsFileSpec("mozmail.tmp"));  // No need to I18N  nsFileSpec *tmpSpec = new nsFileSpec(tDir);  if (!tmpSpec)  {    PR_FREEIF(tDir);    return (new nsFileSpec("mozmail.tmp"));  // No need to I18N  }  *tmpSpec += tFileName;  tmpSpec->MakeUnique();  PR_FREEIF(tDir);  return tmpSpec;}