tRemoving the decodeheaders debugging printfs. - rohrpost - A commandline mail client to change the world as we see it.
(HTM) git clone git://r-36.net/rohrpost
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 7e18aa00e7e99d563b9a032b444e08090987f7a2
(DIR) parent 1d75e5542ed2feff99e7ef2aa2108a679fa7460c
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 16 Feb 2014 22:53:33 +0100
Removing the decodeheaders debugging printfs.
Diffstat:
mime.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/mime.c b/mime.c
t@@ -1241,8 +1241,8 @@ mime_decodepartencoding(mime_t *mime, int *len)
{
char *ret;
- printf("ct = %s\n", mime->ct);
- printf("cte = %s\n", mime->cte);
+ //printf("ct = %s\n", mime->ct);
+ //printf("cte = %s\n", mime->cte);
ret = NULL;
if (!strcasecmp(mime->cte, "base64")) {
*len = mime->bodylen;
t@@ -1252,7 +1252,6 @@ mime_decodepartencoding(mime_t *mime, int *len)
ret = qpdec(mime->body, len, 0);
} else if (!strncasecmp(mime->ct, "text/", 5)) {
/* Convert CRLF to LF. */
- printf("Text encoding.\n");
*len = mime->bodylen;
ret = dosdec(mime->body, len);
}