diff --git a/str.c b/str.c index c673e721..12fe5830 100644 --- a/str.c +++ b/str.c @@ -128,10 +128,10 @@ static size_t _base64_encodev(const char symbols[], char *dstBase64, const struc if (place) *dst++ = symbols[buf]; switch (place) { - case 2: - *dst++ = symbols[64]; case 1: *dst++ = symbols[64]; + case 2: + *dst++ = symbols[64]; } return dst - dstBase64; }