aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-10-10 23:29:35 -0700
committerbnewbold <bnewbold@robocracy.org>2016-10-10 23:29:35 -0700
commitec8e71a1714ab6cb56f1a22ff1c51b6dd051c7f0 (patch)
treefd64edd6d94723933c91ef634f79ce358d5fb944 /src
parent27303c919769b2594523f151ef8f62e10452913d (diff)
downloadeinhyrningsins-ec8e71a1714ab6cb56f1a22ff1c51b6dd051c7f0.tar.gz
einhyrningsins-ec8e71a1714ab6cb56f1a22ff1c51b6dd051c7f0.zip
rip out RPC stuff for now
Diffstat (limited to 'src')
-rw-r--r--src/main.rs6
1 files changed, 1 insertions, 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<String>,
- //TODO:rpc_reply: Receiver<Result<String, String>>,
}
#[derive(Copy, Clone, Debug, PartialEq)]
@@ -150,7 +148,7 @@ fn shepard(mut cfg: EinConfig, signal_rx: Receiver<Signal>) {
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();