mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Rename variable
This commit is contained in:
parent
d930a1e936
commit
a55b924393
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ fn setup(args: &[String]) -> Setup {
|
|||
|
||||
let zeroconf_port =
|
||||
matches.opt_str("zeroconf-port")
|
||||
.map(|volume| volume.parse::<u16>().unwrap())
|
||||
.map(|port| port.parse::<u16>().unwrap())
|
||||
.unwrap_or(0);
|
||||
|
||||
let name = matches.opt_str("name").unwrap();
|
||||
|
|
Loading…
Reference in a new issue