chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a98c100
)
server: reorganise setup
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 16 Aug 2021 23:44:13 +0000
(
00:44
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 16 Aug 2021 23:44:13 +0000
(
00:44
+0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bin/server.rs
patch
|
blob
|
history
diff --git
a/src/bin/server.rs
b/src/bin/server.rs
index cabd18ca2f9a0454c5c4569dcdbf00901d630f62..77a9617599b5e6495343093d92a54d358f29c678 100644
(file)
--- a/
src/bin/server.rs
+++ b/
src/bin/server.rs
@@
-433,7
+433,7
@@
async fn main() {
)).unzip::<_,_,Vec<_>,Vec<_>>();
let all_clients = izip!(
)).unzip::<_,_,Vec<_>,Vec<_>>();
let all_clients = izip!(
-
ics.iter()
,
+
&ics
,
client_handles_send,
).map(|(ic, web_send)| {
(ic.link.client,
client_handles_send,
).map(|(ic, web_send)| {
(ic.link.client,
@@
-444,7
+444,7
@@
async fn main() {
}).collect();
for (ic, web_recv) in izip!(
}).collect();
for (ic, web_recv) in izip!(
- ics
.into_iter()
,
+ ics,
client_handles_recv,
) {
let ic_ = ic.clone();
client_handles_recv,
) {
let ic_ = ic.clone();