-------------------------------------------------------------------------*\ * Deal with the final characters \*-------------------------------------------------------------------------*/
| 560 | * Deal with the final characters |
| 561 | \*-------------------------------------------------------------------------*/ |
| 562 | static size_t qppad(UC *input, size_t size, luaL_Buffer *buffer) |
| 563 | { |
| 564 | size_t i; |
| 565 | for (i = 0; i < size; i++) { |
| 566 | if (qpclass[input[i]] == QP_PLAIN) luaL_addchar(buffer, input[i]); |
| 567 | else qpquote(input[i], buffer); |
| 568 | } |
| 569 | if (size > 0) luaL_addstring(buffer, EQCRLF); |
| 570 | return 0; |
| 571 | } |
| 572 | |
| 573 | /*-------------------------------------------------------------------------*\ |
| 574 | * Incrementally converts a string to quoted-printable |
no test coverage detected