Rename some variables for clarity.

This commit is contained in:
Josh Matthews 2015-02-02 17:55:11 +00:00
parent 1dbbc1b72d
commit 94de93b3a3
2 changed files with 6 additions and 6 deletions

View file

@ -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);
}