aboutsummaryrefslogtreecommitdiff
path: root/src/server.rs
diff options
context:
space:
mode:
authorTill Hoeppner2015-04-18 15:12:41 +0200
committerTill Hoeppner2015-04-18 15:12:41 +0200
commit3483b65e9173d9ef7ea709de898b3a7866045fbd (patch)
tree3c51860688f8c963e71d2ff372ec3c343ca466a8 /src/server.rs
parenta8c80253d6361728db95e6a5640a91a341ad4ea5 (diff)
downloadirsc-3483b65e9173d9ef7ea709de898b3a7866045fbd.tar.gz
irsc-3483b65e9173d9ef7ea709de898b3a7866045fbd.tar.xz
irsc-3483b65e9173d9ef7ea709de898b3a7866045fbd.zip
Make tests/examples compile, not work though
Diffstat (limited to 'src/server.rs')
-rw-r--r--src/server.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server.rs b/src/server.rs
index dfe5051..8f48938 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -2,7 +2,7 @@ use std::io::{
self,
Write,
Read,
-// BufRead,
+ BufRead,
BufReader,
};
@@ -154,7 +154,7 @@ impl Server {
None => return Err(::IrscError::NotConnected)
});
- /*for line in reader.lines() {
+ for line in reader.lines() {
let line = line.unwrap().parse();
if let Ok(msg) = line {
@@ -164,7 +164,7 @@ impl Server {
e(self, &msg)
}
}
- }*/
+ }
Ok(())
}
}