diff options
Diffstat (limited to 'components/net/http_loader.rs')
-rw-r--r-- | components/net/http_loader.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/net/http_loader.rs b/components/net/http_loader.rs index f6590ab2292..95ecd161aff 100644 --- a/components/net/http_loader.rs +++ b/components/net/http_loader.rs @@ -120,9 +120,9 @@ reason: \"certificate verify failed\" }]"; let (tx, rx) = channel(); cookies_chan.send(ControlMsg::GetCookiesForUrl(url.clone(), tx, CookieSource::HTTP)); - if let Some(cookies) = rx.recv().unwrap() { + if let Some(cookie_list) = rx.recv().unwrap() { let mut v = Vec::new(); - v.push(cookies.into_bytes()); + v.push(cookie_list.into_bytes()); load_data.headers.set_raw("Cookie".to_owned(), v); } |