From 59f222a0a29f769c746740301db98adc9b6e83ea Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 5 Dec 2017 23:49:35 -0800 Subject: count as an arg for recieve-some --- src/protocol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocol.rs') diff --git a/src/protocol.rs b/src/protocol.rs index 733477d..2b23959 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -449,7 +449,7 @@ impl DatConnection { } } - pub fn receive_all(&mut self, is_content: bool, length: u64) -> Result<()> { + pub fn receive_some(&mut self, is_content: bool, length: u64) -> Result<()> { // Info: downloading, not uploading let mut im = Info::new(); im.set_uploading(false); -- cgit v1.2.3