URI:
       Turn CRLF into LF for quoted-printable text - scribo - Email-based phlog generator
  HTML git clone git://git.z3bra.org/scribo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 39df79e8908425a91487d038b902355f7d091602
   DIR parent 429395ff23fb3e853ba499a2dff8b5056fbf0c0d
  HTML Author: Willy Goiffon <contact@z3bra.org>
       Date:   Tue, 17 Mar 2026 10:58:52 +0000
       
       Turn CRLF into LF for quoted-printable text
       
       Diffstat:
         M qp.c                                |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/qp.c b/qp.c
       @@ -103,6 +103,8 @@ qp_decode(char **buf, const unsigned char *msg, size_t len)
                memset(*buf, 0, len);
        
                for (i = 0; i < len && msg[i]; i++) {
       +                if (msg[i] == '\r')
       +                        i++;
                        if (msg[i] == '=') {
                                switch (msg[i+1]) {
                                case '\r': i++; /* FALLTHROUGH */