aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol.rs')
-rw-r--r--src/protocol.rs2
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);