evolution-rss r236 - trunk/src



Author: lucilanga
Date: Sun Mar 30 15:50:19 2008
New Revision: 236
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=236&view=rev

Log:
add feed:// as a protocol

Modified:
   trunk/src/misc.c

Modified: trunk/src/misc.c
==============================================================================
--- trunk/src/misc.c	(original)
+++ trunk/src/misc.c	Sun Mar 30 15:50:19 2008
@@ -65,11 +65,7 @@
 sanitize_url(gchar *text)
 {
 	if (strstr(text, "feed://"))
-	{
-		gchar *tmp = strextr(text, "feed://");
-		g_free(text);
-		text = tmp;
-	}
+		text = strextr(text, "feed://");
  	if (!strstr (text, "http://";) 
 	&& !strstr (text, "https://";))
  		return g_strconcat("http://";, text, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]