From ec8e71a1714ab6cb56f1a22ff1c51b6dd051c7f0 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 10 Oct 2016 23:29:35 -0700 Subject: rip out RPC stuff for now --- src/main.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 8258d60..8393760 100644 --- a/src/main.rs +++ b/src/main.rs @@ -55,8 +55,6 @@ struct EinConfig { cmd: Command, ipv4_only: bool, ipv6_only: bool, - //TODO:rpc_ask: Sender, - //TODO:rpc_reply: Receiver>, } #[derive(Copy, Clone, Debug, PartialEq)] @@ -150,7 +148,7 @@ fn shepard(mut cfg: EinConfig, signal_rx: Receiver) { brood.insert(o.id, o); } - //// infinite select() loop over timers, signals, rpc + //// infinite select() loop over timers, signals loop { chan_select! { timer_rx.recv() => { println!("Timer tick'd"); }, @@ -282,8 +280,6 @@ fn main() { let mut cmd = Command::new(&program_and_args[0]); cmd.args(&program_and_args[1..]); - // TODO: check that program exists and is executable - cfg.bind_fds = binds.into_iter().map(|t| { let b = t.0; let r = t.1; let n = t.2; // ugly let orig_fd = b.into_raw_fd(); -- cgit v1.2.3