From b040f0480aca525f0d7f67752e2917a8566fd232 Mon Sep 17 00:00:00 2001 From: hiddenalpha.ch Date: Sat, 29 Aug 2026 22:54:01 +0200 Subject: cleanup --- src/quotprint.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'src/quotprint.c') diff --git a/src/quotprint.c b/src/quotprint.c index ba33149..f008330 100644 --- a/src/quotprint.c +++ b/src/quotprint.c @@ -35,7 +35,7 @@ do ;fi \ ;fi \ \ - && ${CC:?} -c -o "${TMPDIR:?}"/QwTlrZxWlNzEvZGV src/quotprint.c ${CFLAGS?} \ + && ${CC:?} -c -o "${TMPDIR:?}"/QwTlrZxWlNzEvZGV src/quotprint.c ${CFLAGS?} -DPROJECT_VERSION="${PROJECT_VERSION:?}" \ && ${LD:?} -o ./quotprint"${BINEXT?}" "${TMPDIR:?}"/QwTlrZxWlNzEvZGV ${LDFLAGS?} \ && ${RIMRAF:?} "${TMPDIR:?}"/QwTlrZxWlNzEvZGV \ ]=]) @@ -519,17 +519,19 @@ mainOfDecode( void*_ ){ else if( CHR1 == '\r' ){ iSrc += 2; } continue; } - // TODO /* Cited from RFC: - // TODO * > when decoding a Quoted-Printable body, any trailing white space on - // TODO * > a line must be deleted, as it will necessarily have been added by - // TODO * > intermediate transport agents. - // TODO * TODO: Below impl does not work when that whitespace crosses a buffer - // TODO * boundary. */ - // TODO int trailSpsEnd; - // TODO for( trailSpsEnd = iSrc ;; ++trailSpsEnd){ - // TODO if( trailSpsEnd >= LEN_SRC ) assert(!"TODO_wSiBu8mbRajrnTZp"); - // TODO if( BUF_SRC[iSrc] == ); - // TODO } +#if 0 +TODO /* Cited from RFC: +TODO * > when decoding a Quoted-Printable body, any trailing white space on +TODO * > a line must be deleted, as it will necessarily have been added by +TODO * > intermediate transport agents. +TODO * TODO: Below impl does not work when that whitespace crosses a buffer +TODO * boundary. */ +TODO int trailSpsEnd; +TODO for( trailSpsEnd = iSrc ;; ++trailSpsEnd){ +TODO if( trailSpsEnd >= LEN_SRC ) assert(!"TODO_wSiBu8mbRajrnTZp"); +TODO if( BUF_SRC[iSrc] == ); +TODO } +#endif if( CHR0 != '=' ){ /*just a normal char*/ BUF_DST[iDst++] = CHR0; -- cgit v1.3.1