]> OzVa Git service - ozva-cloud/commitdiff
chore: fix typo
authorsigoden <sigoden@gmail.com>
Fri, 8 Mar 2024 00:46:35 +0000 (00:46 +0000)
committersigoden <sigoden@gmail.com>
Fri, 8 Mar 2024 00:46:35 +0000 (00:46 +0000)
CHANGELOG.md
README.md
src/main.rs

index fb1b5a633206c166e80cc176661400cd94f27296..1158a3074b50ecdca2d735d906b61f63b04552f2 100644 (file)
@@ -85,7 +85,7 @@ All notable changes to this project will be documented in this file.
 
 - Remove one clone on `assets_prefix` ([#270](https://github.com/sigoden/dufs/issues/270))
 - Optimize tests
-- Improve code quanity ([#282](https://github.com/sigoden/dufs/issues/282))
+- Improve code quality ([#282](https://github.com/sigoden/dufs/issues/282))
 
 ## [0.36.0] - 2023-08-24
 
index 3e1a847207ff61f306b0d0c29205e55e84284160..1d67b975c57b856c1d735fbc387651df2d9fab30 100644 (file)
--- a/README.md
+++ b/README.md
@@ -247,12 +247,12 @@ Create hashed password
 ```
 $ mkpasswd  -m sha-512 -s
 Password: 123456 
-$6$qCAVUG7yn7t/hH4d$BWm8r5MoDywNmDP/J3V2S2a6flmKHC1IpblfoqZfuK.LtLBZ0KFXP9QIfJP8RqL8MCw4isdheoAMTuwOz.pAO/
+$6$tWMB51u6Kb2ui3wd$5gVHP92V9kZcMwQeKTjyTRgySsYJu471Jb1I6iHQ8iZ6s07GgCIO69KcPBRuwPE5tDq05xMAzye0NxVKuJdYs/
 ```
 
 Use hashed password
 ```
-dufs -a 'admin:$6$qCAVUG7yn7t/hH4d$BWm8r5MoDywNmDP/J3V2S2a6flmKHC1IpblfoqZfuK.LtLBZ0KFXP9QIfJP8RqL8MCw4isdheoAMTuwOz.pAO/@/:rw'
+dufs -a 'admin:$6$tWMB51u6Kb2ui3wd$5gVHP92V9kZcMwQeKTjyTRgySsYJu471Jb1I6iHQ8iZ6s07GgCIO69KcPBRuwPE5tDq05xMAzye0NxVKuJdYs/@/:rw'
 ```
 
 Two important things for hashed passwords:
index 92bfea051d6feb754555a91b2e640283da3710b7..6d669f659fb58573a12b203a7dff3945c1bb4f0a 100644 (file)
@@ -96,7 +96,7 @@ fn serve(args: Args, running: Arc<AtomicBool>) -> Result<Vec<JoinHandle<()>>> {
                             loop {
                                 let (cnx, addr) = listener.accept().await.unwrap();
                                 let Ok(stream) = tls_accepter.accept(cnx).await else {
-                                    warn!("During cls handshake connection from {}", addr);
+                                    warn!("During tls handshake connection from {}", addr);
                                     continue;
                                 };
                                 let stream = TokioIo::new(stream);