[Commits] feed.c 1.1.2.125 1.1.2.126
ticho at claws-mail.org
ticho at claws-mail.org
Thu Aug 2 16:39:12 CEST 2012
Update of /home/claws-mail/plugins/rssyl/src
In directory srv:/tmp/cvs-serv24415/src
Modified Files:
Tag: gtk2
feed.c
Log Message:
2012-08-02 [ticho] 0.33.0cvs3
* src/feed.c
Strip trailing newline from URL we receive via --subscribe.
Index: feed.c
===================================================================
RCS file: /home/claws-mail/plugins/rssyl/src/Attic/feed.c,v
retrieving revision 1.1.2.125
retrieving revision 1.1.2.126
diff -u -d -r1.1.2.125 -r1.1.2.126
--- feed.c 11 Jul 2012 21:43:37 -0000 1.1.2.125
+++ feed.c 2 Aug 2012 14:39:10 -0000 1.1.2.126
@@ -1688,6 +1688,8 @@
else
myurl = g_strdup(url);
+ myurl = g_strchomp(myurl);
+
if( rssyl_find_feed_by_url(myurl) != NULL ) {
if (verbose)
alertpanel_error(_("You are already subscribed to this feed."));
More information about the Commits
mailing list