Show More
@@ -475,15 +475,8 b' static Py_ssize_t basicencode(char *dest' | |||||
475 |
|
475 | |||
476 | Py_ssize_t destlen = 0; |
|
476 | Py_ssize_t destlen = 0; | |
477 |
|
477 | |||
478 | if (len < 5 || memcmp(src, "data/", 5) != 0) { |
|
|||
479 | memcopy(dest, &destlen, destsize, src, len); |
|
|||
480 | return destlen; |
|
|||
481 | } |
|
|||
482 |
|
||||
483 | memcopy(dest, &destlen, destsize, "data/", 5); |
|
|||
484 |
|
||||
485 | return _encode(twobytes, onebyte, dest, destlen, destsize, |
|
478 | return _encode(twobytes, onebyte, dest, destlen, destsize, | |
486 |
src |
|
479 | src, len, 1); | |
487 | } |
|
480 | } | |
488 |
|
481 | |||
489 | static const Py_ssize_t maxstorepathlen = 120; |
|
482 | static const Py_ssize_t maxstorepathlen = 120; |
General Comments 0
You need to be logged in to leave comments.
Login now