diff --git a/src/main.rs b/src/main.rs index ed323615..4406e104 100644 --- a/src/main.rs +++ b/src/main.rs @@ -148,7 +148,7 @@ fn setup(args: &[String]) -> Setup { let zeroconf_port = matches.opt_str("zeroconf-port") - .map(|volume| volume.parse::().unwrap()) + .map(|port| port.parse::().unwrap()) .unwrap_or(0); let name = matches.opt_str("name").unwrap();