[tin-dev] [PATCH] rfc2047.c: strings moved to lang.c

Dennis Preiser dennis at d--p.de
Mon Nov 13 17:28:22 CET 2023


On Mon, Nov 13, 2023 at 01:47:40PM +0100, Dennis Preiser wrote:
> I've moved strings from rfc2047 to lang.c.

--- a/src/rfc2047.c
+++ b/src/rfc2047.c
@@ -1304,8 +1304,8 @@ compose_message_rfc822(
 	*is_8bit = contains_8bit_characters(articlefp);
 
 	/* Header: CT, CD, CTE */
-	fprintf(fp, txt_mime_hdr_c_type_msg_rfc822);
-	fprintf(fp, txt_mime_hdr_c_disposition_inline);
+	fprintf(fp, "%s", txt_mime_hdr_c_type_msg_rfc822);
+	fprintf(fp, "%s", txt_mime_hdr_c_disposition_inline);
 	fprintf(fp, txt_mime_hdr_c_transfer_encoding, *is_8bit ? txt_8bit : txt_7bit);
 	fputc('\n', fp);
 




More information about the tin-dev mailing list