evolution-rss r231 - in trunk: . src
- From: lucilanga svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-rss r231 - in trunk: . src
- Date: Thu, 27 Mar 2008 06:28:37 +0000 (GMT)
Author: lucilanga
Date: Thu Mar 27 06:28:37 2008
New Revision: 231
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=231&view=rev
Log:
sanitize rf->current_uid
Modified:
trunk/ChangeLog
trunk/TODO
trunk/src/rss.c
Modified: trunk/TODO
==============================================================================
--- trunk/TODO (original)
+++ trunk/TODO Thu Mar 27 06:28:37 2008
@@ -36,4 +36,3 @@
* convert rest of non-intrusive error messages
* search in the content of page for feed
* obey ttl entity
- * fix editing (reading possible deleted feed)
Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c (original)
+++ trunk/src/rss.c Thu Mar 27 06:28:37 2008
@@ -4055,7 +4055,7 @@
{
info = camel_folder_get_message_info(folder, uids->pdata[i]);
if (info) {
- if (!strcmp(rf->current_uid, uids->pdata[i]))
+ if (rf->current_uid && !strcmp(rf->current_uid, uids->pdata[i]))
goto out;
date = camel_message_info_date_sent(info);
flags = camel_message_info_flags(info);
@@ -4136,7 +4136,7 @@
for (i = 0; i < uids->len; i++)
{
info = camel_folder_get_message_info(folder, uids->pdata[i]);
- if (info && strcmp(rf->current_uid, uids->pdata[i])) {
+ if (info && rf->current_uid && strcmp(rf->current_uid, uids->pdata[i])) {
date = camel_message_info_date_sent(info);
if (date < now - del_days * 86400)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]