r2030 - in trunk/src/target/OM-2007/applications/openmoko-rssreader: . src
zecke at sita.openmoko.org
zecke at sita.openmoko.org
Sat May 19 00:45:02 CEST 2007
Author: zecke
Date: 2007-05-19 00:45:01 +0200 (Sat, 19 May 2007)
New Revision: 2030
Modified:
trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog
trunk/src/target/OM-2007/applications/openmoko-rssreader/src/callbacks.c
Log:
2007-05-19 Holger Freyther <zecke at selfish.org>
Do not crash on non valid pubDates
* src/callbacks.c:
(add_mrss_item):
Modified: trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog 2007-05-18 22:15:13 UTC (rev 2029)
+++ trunk/src/target/OM-2007/applications/openmoko-rssreader/ChangeLog 2007-05-18 22:45:01 UTC (rev 2030)
@@ -1,5 +1,12 @@
2007-05-19 Holger Freyther <zecke at selfish.org>
+ Do not crash on non valid pubDates
+
+ * src/callbacks.c:
+ (add_mrss_item):
+
+2007-05-19 Holger Freyther <zecke at selfish.org>
+
Load data from the cache. Currently libmrss has some issues
parsing the data it wrote.
Modified: trunk/src/target/OM-2007/applications/openmoko-rssreader/src/callbacks.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-rssreader/src/callbacks.c 2007-05-18 22:15:13 UTC (rev 2029)
+++ trunk/src/target/OM-2007/applications/openmoko-rssreader/src/callbacks.c 2007-05-18 22:45:01 UTC (rev 2030)
@@ -140,7 +140,7 @@
* with the order in application-data.h
*/
RSSRFCDate *date = RSS_RFC_DATE(rss_rfc_date_new ());
- rss_rfc_date_set (date, item->pubDate);
+ rss_rfc_date_set (date, item->pubDate ? item->pubDate : "");
gdk_threads_enter();
gtk_list_store_append( data->feed_data, &iter );
gtk_list_store_set ( data->feed_data, &iter,
More information about the commitlog
mailing list