diff options
| author | hiddenalpha.ch | 2026-08-29 22:54:01 +0200 |
|---|---|---|
| committer | hiddenalpha.ch | 2026-08-29 22:54:01 +0200 |
| commit | b040f0480aca525f0d7f67752e2917a8566fd232 (patch) | |
| tree | 7dac03dc3a6cb51ff4572d3b7dabb0b5146c907c /src/quotprint.c | |
| parent | 76acb61fa3e9f0fc8257407433d84643736cad5d (diff) | |
| download | quotprint-b040f0480aca525f0d7f67752e2917a8566fd232.tar.gz quotprint-b040f0480aca525f0d7f67752e2917a8566fd232.zip | |
cleanupmain
Diffstat (limited to 'src/quotprint.c')
| -rw-r--r-- | src/quotprint.c | 26 |
1 files changed, 14 insertions, 12 deletions
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; |
