if (count == 0) {  cookie_RemoveExpiredCookies();
if (count > COOKIE_Count()) { return NS_ERROR_FAILURE;
COOKIE_Enumerate    (PRInt32 count,     char **name,     char **value,     PRBool *isDomain,     char ** host,     char ** path,     PRBool * isSecure,     PRUint64 * expires) {  if (count == 0) {    /* Get rid of any expired cookies now so user doesn't     * think/see that we're keeping cookies in memory.     */    cookie_RemoveExpiredCookies();  }  cookie_CookieStruct *cookie;  cookie = NS_STATIC_CAST(cookie_CookieStruct*, cookie_list->ElementAt(count));  NS_ASSERTION(cookie, "corrupt cookie list");  *name = cookie_FixQuoted(cookie->name);  *value = cookie_FixQuoted(cookie->cookie);  *isDomain = cookie->isDomain;  *host = cookie_FixQuoted(cookie->host);  *path = cookie_FixQuoted(cookie->path);  *isSecure = cookie->isSecure;  time_t expiresTime=0;  if (cookie->expires) {    /*     * Cookie expiration times on mac will not be decoded correctly because     * they were based on get_current_time() instead of time(NULL) -- see comments in     * get_current_time.  So we need to adjust for that now in order for the     * display of the expiration time to be correct     */    expiresTime = cookie->expires + (time(NULL) - get_current_time());  }  // *expires = expiresTime; -- no good no mac, using next line instead  LL_UI2L(*expires, expiresTime);}