mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Rename some variables for clarity.
This commit is contained in:
parent
1dbbc1b72d
commit
94de93b3a3
2 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue