!cookieInList->isSession && (nsInt64(cookieInList->expires) > aCurrentTime)) {
(cookieInList->isSession || nsInt64(cookieInList->expires) > aCurrentTime)) {
cookie_FindCookiesFromHost(cookie_CookieStruct *aCookie,                           PRUint32            &aCountFromHost,                           nsInt64             aCurrentTime){  aCountFromHost = 0;  PRBool foundCookie = PR_FALSE;  cookie_CookieStruct *cookieInList;  const nsAFlatCString &host = aCookie->host;  const nsAFlatCString &path = aCookie->path;  const nsAFlatCString &name = aCookie->name;  PRInt32 count = sCookieList->Count();  for (PRInt32 i = 0; i < count; ++i) {    cookieInList = NS_STATIC_CAST(cookie_CookieStruct*, sCookieList->ElementAt(i));    NS_ASSERTION(cookieInList, "corrupt cookie list");    // only count non-expired cookies    if (cookie_IsInDomain(cookieInList->host, host, cookieInList->isDomain) &&        !cookieInList->isSession && (nsInt64(cookieInList->expires) > aCurrentTime)) {      ++aCountFromHost;      // check if we've found the previous cookie      if (path.Equals(cookieInList->path) &&          host.Equals(cookieInList->host) &&          name.Equals(cookieInList->name)) {        foundCookie = PR_TRUE;      }    }  }  return foundCookie;}