1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-06 03:50:06 +02:00

Resolve AP through proxy as well

This commit is contained in:
Johan Anderholm 2018-03-23 16:52:24 +01:00
parent 3bdc5e0073
commit 1a04e3b899
6 changed files with 63 additions and 37 deletions

View file

@ -56,7 +56,7 @@ impl Session {
let proxy = config.proxy.clone();
let connection = access_point.and_then(move |addr| {
info!("Connecting to AP \"{}\"", addr);
connection::connect::<&str>(&addr, &handle_, &proxy)
connection::connect(addr, &handle_, &proxy)
});
let device_id = config.device_id.clone();