aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/geniza-net.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/geniza-net.rs b/src/bin/geniza-net.rs
index 1f369ab..b9a4872 100644
--- a/src/bin/geniza-net.rs
+++ b/src/bin/geniza-net.rs
@@ -65,8 +65,9 @@ fn run() -> Result<()> {
host_port,
&key_bytes,
false)?;
- dc.receive_all(false)?;
- dc.receive_all(true)?;
+ // XXX: number here totally arbitrary
+ dc.receive_all(false, 10)?;
+ dc.receive_all(true, 10)?;
println!("Done!");
},
_ => {