All pastes #475178 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-07 08:58 UTC
rendered paste body
? rssyl-fix-debugtmpfile.diff
? src/rssyl-fix-debugtmpfile.diff
Index: src/feed.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/plugins/rssyl/src/Attic/feed.c,v
retrieving revision 1.1.2.76
diff -u -b -p -r1.1.2.76 feed.c
--- src/feed.c	2007/05/02 23:03:03	1.1.2.76
+++ src/feed.c	2007/05/07 08:56:29
@@ -335,6 +335,7 @@ xmlDocPtr rssyl_fetch_feed(const gchar *
 #ifdef RSSYL_DEBUG
 	/* debug mode - get timestamp, add it to returned xmlDoc, and make a copy
 	 * of the fetched feed file */
+	tmptitle = rssyl_strreplace(url, "/", "\\");
 	unixtime_str = g_strdup_printf("%ld", time(NULL) );
 	debugfname = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, RSSYL_DIR,
 			G_DIR_SEPARATOR_S, ".", tmptitle, ".", unixtime_str, NULL);
@@ -347,6 +348,7 @@ xmlDocPtr rssyl_fetch_feed(const gchar *
 	xmlSetProp(rnode, "fetched", unixtime_str);
 	g_free(unixtime_str);
 	g_free(debugfname);
+	g_free(tmptitle);
 #endif	/* RSSYL_DEBUG */
 
 	g_unlink(template);