X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fimap%2Fimap_misc.c;h=3ccd463671ac8b20d26d7a055ef60196301bdeb6;hb=e26a8dee20d1726b4995821f717f867f50fc5659;hp=14cc8afa95e3ecbadd6c3c4aa162c59ab1c13343;hpb=f1ee61891901850ebbdee1e9440b363dc6df540a;p=citadel.git diff --git a/citadel/modules/imap/imap_misc.c b/citadel/modules/imap/imap_misc.c index 14cc8afa9..3ccd46367 100644 --- a/citadel/modules/imap/imap_misc.c +++ b/citadel/modules/imap/imap_misc.c @@ -1,7 +1,7 @@ /* - * Copyright (c) 1987-2010 by the citadel.org team + * Copyright (c) 1987-2011 by the citadel.org team * - * This program is free software; you can redistribute it and/or modify + * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. @@ -281,7 +281,6 @@ void imap_do_append_flags(long new_msgnum, char *new_message_flags) { */ void imap_append(int num_parms, ConstStr *Params) { long literal_length; - long bytes_transferred; struct CtdlMessage *msg = NULL; long new_msgnum = (-1L); int ret = 0; @@ -340,7 +339,6 @@ void imap_append(int num_parms, ConstStr *Params) { IUnbuffer (); - bytes_transferred = 0; client_read_blob(Imap->TransmittedMessage, literal_length, config.c_sleeping); if ((ret < 0) || (StrLength(Imap->TransmittedMessage) < literal_length)) { @@ -355,10 +353,10 @@ void imap_append(int num_parms, ConstStr *Params) { client_getln(dummy, sizeof dummy); /* Convert RFC822 newlines (CRLF) to Unix newlines (LF) */ - syslog(LOG_DEBUG, "Converting CRLF to LF\n"); + syslog(LOG_DEBUG, "Converting CRLF to LF"); StrBufToUnixLF(Imap->TransmittedMessage); - syslog(LOG_DEBUG, "Converting message format\n"); + syslog(LOG_DEBUG, "Converting message format"); msg = convert_internet_message_buf(&Imap->TransmittedMessage); ret = imap_grabroom(roomname, Params[2].Key, 1);