diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-03-26 09:08:59 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-03-26 09:08:59 +0000 |
commit | 2acdfda27249bb92c32b6a6e108bf0fc5b31a941 (patch) | |
tree | b78216a94ba09c884fa1bde42ecd4cf5764d0630 /libsylph/news.c | |
parent | 1870cab997b57fbe9f33da45ad7464054006b4a3 (diff) |
referch message when imap/news cache file size is 0 (Bug #50).
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3034 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/news.c')
-rw-r--r-- | libsylph/news.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/news.c b/libsylph/news.c index c4814dd2..82bf01c4 100644 --- a/libsylph/news.c +++ b/libsylph/news.c @@ -400,7 +400,7 @@ static gchar *news_fetch_msg(Folder *folder, FolderItem *item, gint num) NULL); g_free(path); - if (is_file_exist(filename)) { + if (is_file_exist(filename) && get_file_size(filename) > 0) { debug_print(_("article %d has been already cached.\n"), num); return filename; } |