pull/14/head
dvkt 4 years ago
parent 967c2f018e
commit 925db458fc

@ -69,7 +69,6 @@ phetch with `-l` or `--local` to quickly connect to it.
## todo
- [ ] fork+exec telnet: gopher://bitreich.org/1/lawn/bbs
- [ ] TLS -- https://dataswamp.org/~solene/2019-03-07-gopher-server-tls.html
- [ ] ~/.config/phetch/phetch.conf
## bugs

@ -95,7 +95,7 @@ pub fn download_url(url: &str, try_tls: bool) -> Result<(String, usize)> {
bytes += count;
file.write(&buf[..count]);
if let Some(Ok(termion::event::Key::Ctrl('c'))) = keys.next() {
return Err(error!("Download canceled"));
return Err(error!("Download cancelled"));
}
}
Ok((filename.to_string(), bytes))

Loading…
Cancel
Save