ports/mail/metamail/files/patch-richmail__iso2022.c
Baptiste Daroussin 54598e668d Prevent collision with getline(3)
While here, regenerate patches
2016-05-13 19:30:14 +00:00

11 lines
345 B
C

--- richmail/iso2022.c.orig 1992-12-22 17:50:21 UTC
+++ richmail/iso2022.c
@@ -84,7 +84,7 @@ char *name;
OutCharSet = OUT_ASCII;
OutAsciiMode = RICH_ENC_US_ASCII;
if (!name)
- return;
+ return(0);
if (!strncmp (name,"iso-2022-jp",11))
richtextencoding (RICH_ENC_JP_ASCII);
else if (!strncmp (name,"iso-2022-kr",11)) {