Show More
@@ -600,7 +600,7 b' pub fn path_encode(path: &[u8]) -> Vec<u' | |||||
600 | basic_encode(&mut measure, path); |
|
600 | basic_encode(&mut measure, path); | |
601 | measure.len |
|
601 | measure.len | |
602 | } else { |
|
602 | } else { | |
603 | MAXSTOREPATHLEN + 1 |
|
603 | return hash_encode(path); | |
604 | }; |
|
604 | }; | |
605 | if newlen <= MAXSTOREPATHLEN { |
|
605 | if newlen <= MAXSTOREPATHLEN { | |
606 | if newlen == path.len() { |
|
606 | if newlen == path.len() { |
General Comments 0
You need to be logged in to leave comments.
Login now