From 925db458fc00a62448ee37b7ef35582cfe2f281e Mon Sep 17 00:00:00 2001 From: dvkt Date: Mon, 6 Jan 2020 01:14:29 -0800 Subject: [PATCH] ll --- README.md | 3 +-- src/gopher.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 88ef902..9c4fece 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ | )| )|___)| | | ) |__/ | / |__ |__ |__ | / | --->


+-->


@@ -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 diff --git a/src/gopher.rs b/src/gopher.rs index 56561c6..909215c 100644 --- a/src/gopher.rs +++ b/src/gopher.rs @@ -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))