[PATCH] do not discard long subject lines
Dennis Preiser <[email protected]> Sat, 30 Nov 2013 20:28:09 +0100
| Newsgroups | gmane.network.tin.devel |
|---|---|
| Message-ID | <[email protected]> |
--J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tin does not display the subject of the following article at group level: | From: Michael Baeuerle <[email protected]> | Newsgroups: de.alt.test | Subject: MIME header encoding test: =?ISO-8859-1?Q?W=F6rd?= (dies ist ein | zwei drei | =?ISO-8859-1?Q?=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4?= | =?ISO-8859-1?Q?=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4?= | =?ISO-8859-1?Q?=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4?= | =?ISO-8859-1?Q?=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4?= | =?ISO-8859-1?Q?=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4=E4?= | =?ISO-8859-1?Q?=E4=E4=E4?= Wort) | Date: 30 Nov 2013 18:03:45 -0000 | Lines: 12 | Message-ID: <2013-11-30.19_03_45.2992533912.0000019332.WStation4.A0.flnews@micha.freeshell.org> The attached patch fixes this for me. Dennis --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="2013-11-30.diff" diff -urp tin-2.1.5/src/group.c tin-2.1.5_r1/src/group.c --- tin-2.1.5/src/group.c 2013-11-16 22:27:28.000000000 +0100 +++ tin-2.1.5_r1/src/group.c 2013-11-30 19:55:20.000000000 +0100 @@ -1141,7 +1141,7 @@ build_sline( int i) { char *fmt, *buf; - char arts_sub[255]; + char arts_sub[HEADER_LEN]; char tmp_buf[8]; char tmp[LEN]; int respnum; --J2SCkAp4GZ/dPZZf--