mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
fix for bug# 11796. r morse, a chofmann
This commit is contained in:
parent
8a1079644e
commit
522ba171ff
@ -1490,7 +1490,7 @@ cookie_SetCookieString(char * curURL, char * setCookieHeader, time_t timeToExpir
|
||||
tmp_cookie_ptr = NS_STATIC_CAST(cookie_CookieStruct*, cookie_cookieList->ElementAt(i));
|
||||
if (tmp_cookie_ptr) {
|
||||
if(new_len > PL_strlen(tmp_cookie_ptr->path)) {
|
||||
cookie_cookieList->InsertElementAt(tmp_cookie_ptr, i);
|
||||
cookie_cookieList->InsertElementAt(prev_cookie, i);
|
||||
bCookieAdded = PR_TRUE;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user