projects
/
crypto_lab1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b43320
)
Mini cleanup.
author
Ummon
<greg.burri@gmail.com>
Tue, 4 Nov 2014 06:51:33 +0000
(07:51 +0100)
committer
Ummon
<greg.burri@gmail.com>
Tue, 4 Nov 2014 06:51:33 +0000
(07:51 +0100)
src/end_point.rs
patch
|
blob
|
history
diff --git
a/src/end_point.rs
b/src/end_point.rs
index
b44afc9
..
71f217e
100644
(file)
--- a/
src/end_point.rs
+++ b/
src/end_point.rs
@@
-32,10
+32,10
@@
impl Server {
loop {
for stream in acceptor.incoming() {
match stream {
- Err(_) => return,
Ok(stream) => spawn(proc() {
Server::handle_client(EndPoint { socket: stream, current_timestamp: 0 });
- })
+ }),
+ _ => return
}
}
}