Removed a superfluous debug_print() call.
[claws.git] / src / compose.c
index 5554b668008f9dbb585d9a83c86c65b2f7a95b01..afe00fc351c9fc931b5bd1a6d2b87572f530a12f 100644 (file)
@@ -2974,16 +2974,6 @@ static gint compose_parse_header(Compose *compose, MsgInfo *msginfo)
 
                if (msginfo->msgid && *msginfo->msgid)
                        compose->msgid = g_strdup(msginfo->msgid);
-
-               if (msginfo->references != NULL) {
-                       GString *refs = g_string_new(NULL);
-                       GSList *r = msginfo->references;
-                       while (r != NULL) {
-                               g_string_append_printf(refs, "<%s>%s", (gchar *)r->data,
-                                               (g_slist_next(r) ? "\n\t" : ""));
-                               r = g_slist_next(r);
-                       }
-               }
        } else {
                if (msginfo->msgid && *msginfo->msgid)
                        compose->inreplyto = g_strdup(msginfo->msgid);
@@ -5565,8 +5555,6 @@ static gint compose_write_to_file(Compose *compose, FILE *fp, gint action, gbool
        mimemsg->tmp = TRUE; /* must free content later */
        mimemsg->data.mem = compose_get_header(compose);
 
-       debug_print(mimemsg->data.mem);
-
        /* Create text part MimeInfo */
        /* get all composed text */
        buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(compose->text));