COOKIE_SetCookieStringFromHttp(spec, (char *)aCookie, (char *)aExpires);
char *firstSpec = NULL; rv = aFirstURL->GetSpec(&firstSpec); if (NS_FAILED(rv)) return rv; COOKIE_SetCookieStringFromHttp(spec, firstSpec, aPrompter, (char *)aCookie, (char *)aExpires);
nsCookieService::SetCookieStringFromHttp(nsIURI *aURL, const char *aCookie, const char *aExpires) {  char *spec = NULL;  nsresult rv = aURL->GetSpec(&spec);  if (NS_FAILED(rv)) return rv;  COOKIE_SetCookieStringFromHttp(spec, (char *)aCookie, (char *)aExpires);  nsCRT::free(spec);  return NS_OK;}