* Bumped internal version number to 6.31. Minimum Citadel server required
[citadel.git] / webcit / messages.c
index d48c5570661744bfd27c0ad801ad484d7dd77bd9..a02296df53adc56ece5f0d9fedec100624bd71e8 100644 (file)
@@ -599,7 +599,6 @@ void read_message(long msgnum, int printable_view, char *section) {
                        }
                        safestrncpy(&reply_all[strlen(reply_all)], &buf[5],
                                (sizeof reply_all - strlen(reply_all)) );
-                       lprintf(9, "REPLY_ALL: %s\n", reply_all);       // FIXME
                }
                if ((!strncasecmp(buf, "hnod=", 5))
                    && (strcasecmp(&buf[5], serv_info.serv_humannode))) {
@@ -855,7 +854,8 @@ void read_message(long msgnum, int printable_view, char *section) {
        ) {
                ic = iconv_open("UTF-8", mime_charset);
                if (ic == (iconv_t)(-1) ) {
-                       lprintf(5, "%s:%d iconv_open(UTF-8, %s) failed: %s\n", __FILE__, __LINE__, mime_charset, strerror(errno));
+                       lprintf(5, "%s:%d iconv_open(UTF-8, %s) failed: %s\n",
+                               __FILE__, __LINE__, mime_charset, strerror(errno));
                }
        }
 #endif
@@ -1208,7 +1208,8 @@ void pullquote_message(long msgnum, int forward_attachments) {
        ) {
                ic = iconv_open("UTF-8", mime_charset);
                if (ic == (iconv_t)(-1) ) {
-                       lprintf(5, "%s:%d iconv_open() failed: %s\n", __FILE__, __LINE__, strerror(errno));
+                       lprintf(5, "%s:%d iconv_open() failed: %s\n",
+                               __FILE__, __LINE__, strerror(errno));
                }
        }
 #endif
@@ -2799,7 +2800,6 @@ void do_stuff_to_msgs(void) {
        serv_puts("MSGS ALL");
        serv_getln(buf, sizeof buf);
 
-       lprintf(9, "%s:%d fetching msgnums\n", __FILE__, __LINE__);
        if (buf[0] == '1') while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
                ptr = malloc(sizeof(struct stuff_t));
                ptr->msgnum = atol(buf);
@@ -2817,10 +2817,8 @@ void do_stuff_to_msgs(void) {
                if (!strcasecmp(bstr(buf), "yes")) {
 
                        if (delete_button_pressed) {
-                               lprintf(9, "%s:%d move %d\n", __FILE__, __LINE__, stuff->msgnum);
                                serv_printf("MOVE %ld|_TRASH_|0", stuff->msgnum);
                                serv_getln(buf, sizeof buf);
-                               lprintf(9, "%s:%d %s\n", __FILE__, __LINE__, buf);
                        }
 
                }
@@ -2829,7 +2827,6 @@ void do_stuff_to_msgs(void) {
                free(stuff);
                stuff = ptr;
        }
-       lprintf(9, "%s:%d done, moving on...\n", __FILE__, __LINE__);
 
        readloop("readfwd");
 }