diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-12-05 23:49:35 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-12-05 23:50:55 -0800 |
commit | 59f222a0a29f769c746740301db98adc9b6e83ea (patch) | |
tree | 7ea3221df3cd5e1e03d2774a6ba29ed87b2edd35 /src/protocol.rs | |
parent | 66b1ee42a5318c09b005f253dfddef371e6955f4 (diff) | |
download | geniza-59f222a0a29f769c746740301db98adc9b6e83ea.tar.gz geniza-59f222a0a29f769c746740301db98adc9b6e83ea.zip |
count as an arg for recieve-some
Diffstat (limited to 'src/protocol.rs')
-rw-r--r-- | src/protocol.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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); |