bug 130545, cookie regression, c=Michiel van Leeuwen, r=morse, sr=darin, a=asa

This commit is contained in:
morse%netscape.com 2002-03-16 05:47:35 +00:00
Родитель feefbf588d
Коммит 23e1ad33d6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1140,7 +1140,7 @@ cookie_SetCookieString(char * curURL, nsIPrompt *aPrompter, const char * setCook
*colon = '\0';
}
domain_length = PL_strlen(domain_from_header);
cur_host_length = cur_host.Length();
cur_host_length = PL_strlen(cur_host.get());
/* check to see if the host is in the domain */
if (!cookie_IsInDomain(domain_from_header, (char*)cur_host.get(), cur_host_length)) {