[Commits] feed.c 1.1.2.127 1.1.2.128
ticho at claws-mail.org
ticho at claws-mail.org
Mon Oct 15 19:40:18 CEST 2012
Update of /home/claws-mail/plugins/rssyl/src
In directory srv:/tmp/cvs-serv28065/src
Modified Files:
Tag: gtk2
feed.c
Log Message:
2012-10-15 [ticho] 0.33.0cvs8
* src/feed.c
Increase length limit for Subject and From headers in stored
items, 10240 should be enough for everyone!
Index: feed.c
===================================================================
RCS file: /home/claws-mail/plugins/rssyl/src/Attic/feed.c,v
retrieving revision 1.1.2.127
retrieving revision 1.1.2.128
diff -u -d -r1.1.2.127 -r1.1.2.128
--- feed.c 16 Sep 2012 12:06:40 -0000 1.1.2.127
+++ feed.c 15 Oct 2012 17:40:16 -0000 1.1.2.128
@@ -1218,7 +1218,7 @@
{
MsgFlags *flags;
gchar *template, *tmpurl, *tmpid;
- gchar tmp[1024];
+ gchar tmp[10240];
gint d = -1, fd, dif = 0;
FILE *f;
RSSylFeedItem *oldfitem = NULL;
@@ -1275,7 +1275,7 @@
if( fitem->author ) {
if (g_utf8_validate(fitem->author, -1, NULL)) {
- conv_encode_header_full(tmp, 511, fitem->author,
+ conv_encode_header_full(tmp, 10239, fitem->author,
strlen("From: "), TRUE, CS_UTF_8);
err |= (fprintf(f, "From: %s\n", tmp) < 0);
} else
@@ -1284,7 +1284,7 @@
if( fitem->title ) {
if (g_utf8_validate(fitem->title, -1, NULL)) {
- conv_encode_header_full(tmp, 1023, fitem->title,
+ conv_encode_header_full(tmp, 10239, fitem->title,
strlen("Subject: "), FALSE, CS_UTF_8);
err |= (fprintf(f, "Subject: %s\n", tmp) < 0);
} else
More information about the Commits
mailing list