projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IMAP: make debug logging configurable.
[citadel.git]
/
citadel
/
modules
/
imap
/
imap_misc.c
diff --git
a/citadel/modules/imap/imap_misc.c
b/citadel/modules/imap/imap_misc.c
index 3ccd463671ac8b20d26d7a055ef60196301bdeb6..e7b3d69fe73a204bea2a2695410261c87c9fa40d 100644
(file)
--- a/
citadel/modules/imap/imap_misc.c
+++ b/
citadel/modules/imap/imap_misc.c
@@
-280,6
+280,7
@@
void imap_do_append_flags(long new_msgnum, char *new_message_flags) {
* This function is called by the main command loop.
*/
void imap_append(int num_parms, ConstStr *Params) {
* This function is called by the main command loop.
*/
void imap_append(int num_parms, ConstStr *Params) {
+ struct CitContext *CCC = CC;
long literal_length;
struct CtdlMessage *msg = NULL;
long new_msgnum = (-1L);
long literal_length;
struct CtdlMessage *msg = NULL;
long new_msgnum = (-1L);
@@
-353,10
+354,10
@@
void imap_append(int num_parms, ConstStr *Params) {
client_getln(dummy, sizeof dummy);
/* Convert RFC822 newlines (CRLF) to Unix newlines (LF) */
client_getln(dummy, sizeof dummy);
/* Convert RFC822 newlines (CRLF) to Unix newlines (LF) */
- syslog(LOG_DEBUG, "Converting CRLF to LF");
+
IMAPM_
syslog(LOG_DEBUG, "Converting CRLF to LF");
StrBufToUnixLF(Imap->TransmittedMessage);
StrBufToUnixLF(Imap->TransmittedMessage);
- syslog(LOG_DEBUG, "Converting message format");
+
IMAPM_
syslog(LOG_DEBUG, "Converting message format");
msg = convert_internet_message_buf(&Imap->TransmittedMessage);
ret = imap_grabroom(roomname, Params[2].Key, 1);
msg = convert_internet_message_buf(&Imap->TransmittedMessage);
ret = imap_grabroom(roomname, Params[2].Key, 1);