X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fimap_fetch.c;h=007db16832461ecafaca02c33f7aca256360d723;hb=2e5bfef2c1708874507a51c9469b2c181b5523f4;hp=2f8a389e203b525911a20f5244f2f65802d56de5;hpb=5629373d62f7a65f9bbef3a0b664cfc7ee598482;p=citadel.git diff --git a/citadel/imap_fetch.c b/citadel/imap_fetch.c index 2f8a389e2..007db1683 100644 --- a/citadel/imap_fetch.c +++ b/citadel/imap_fetch.c @@ -125,8 +125,8 @@ void imap_fetch_rfc822(int msgnum, char *whichfmt, struct CtdlMessage *msg) { tmp = tmpfile(); if (tmp == NULL) { - lprintf(1, "Cannot open temp file: %s\n", - strerror(errno)); + lprintf(CTDL_CRIT, "Cannot open temp file: %s\n", + strerror(errno)); return; } @@ -139,7 +139,7 @@ void imap_fetch_rfc822(int msgnum, char *whichfmt, struct CtdlMessage *msg) { HEADERS_ALL, 0, 1); CtdlRedirectOutput(NULL, -1); if (!is_valid_message(msg)) { - lprintf(1, "WARNING: output clobbered the message!\n"); + lprintf(CTDL_ERR, "WARNING: output clobbered the message!\n"); } /* @@ -528,7 +528,7 @@ void imap_fetch_body(long msgnum, char *item, int is_peek, for (i=0; i') partial[i] = 0; } if (is_partial == 0) strcpy(partial, ""); - if (strlen(partial) > 0) lprintf(9, "Partial is %s\n", partial); + if (strlen(partial) > 0) lprintf(CTDL_DEBUG, "Partial is %s\n", partial); tmp = tmpfile(); if (tmp == NULL) { - lprintf(1, "Cannot open temp file: %s\n", strerror(errno)); + lprintf(CTDL_CRIT, "Cannot open temp file: %s\n", strerror(errno)); return; }