aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/nntp/camel-nntp-grouplist.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-10-11 12:37:33 +0800
committerChris Toshok <toshok@src.gnome.org>2000-10-11 12:37:33 +0800
commit4f8ffe430fdfe646741aaaf569929b286fc1be2f (patch)
tree65e8406cd00ce8eaaa08aa207e33a35a68aa4a89 /camel/providers/nntp/camel-nntp-grouplist.c
parent139f2405f0a36396f7e3e171ad03a18e8d78ea69 (diff)
downloadgsoc2013-evolution-4f8ffe430fdfe646741aaaf569929b286fc1be2f.tar
gsoc2013-evolution-4f8ffe430fdfe646741aaaf569929b286fc1be2f.tar.gz
gsoc2013-evolution-4f8ffe430fdfe646741aaaf569929b286fc1be2f.tar.bz2
gsoc2013-evolution-4f8ffe430fdfe646741aaaf569929b286fc1be2f.tar.lz
gsoc2013-evolution-4f8ffe430fdfe646741aaaf569929b286fc1be2f.tar.xz
gsoc2013-evolution-4f8ffe430fdfe646741aaaf569929b286fc1be2f.tar.zst
gsoc2013-evolution-4f8ffe430fdfe646741aaaf569929b286fc1be2f.zip
fill in message_count and unread_message_count properly.
2000-10-10 Chris Toshok <toshok@helixcode.com> * providers/nntp/camel-nntp-store.c (build_folder_info_from_grouplist): fill in message_count and unread_message_count properly. * providers/nntp/camel-nntp-newsrc.h: reformat. * providers/nntp/camel-nntp-grouplist.c (camel_nntp_get_grouplist_from_file): remove spew. * providers/nntp/camel-nntp-newsrc.c (camel_nntp_newsrc_group_get_num_articles_read): new function. (camel_nntp_newsrc_group_get_highest_article_read): robustification. svn path=/trunk/; revision=5832
Diffstat (limited to 'camel/providers/nntp/camel-nntp-grouplist.c')
-rw-r--r--camel/providers/nntp/camel-nntp-grouplist.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/camel/providers/nntp/camel-nntp-grouplist.c b/camel/providers/nntp/camel-nntp-grouplist.c
index 9a4443656a..ee1da0da6f 100644
--- a/camel/providers/nntp/camel-nntp-grouplist.c
+++ b/camel/providers/nntp/camel-nntp-grouplist.c
@@ -111,8 +111,6 @@ camel_nntp_get_grouplist_from_file (CamelNNTPStore *store, CamelException *ex)
list->store = store;
sscanf (buf, "%d", &list->time);
- printf ("time is %d\n", list->time);
-
while (fgets (buf, 300, fp)) {
CamelNNTPGroupListEntry *entry = g_new (CamelNNTPGroupListEntry, 1);
char **split_line = g_strsplit (buf, " ", 4);
@@ -123,13 +121,9 @@ camel_nntp_get_grouplist_from_file (CamelNNTPStore *store, CamelException *ex)
g_strfreev (split_line);
- printf ("adding %s\n", entry->group_name);
-
list->group_list = g_list_append (list->group_list, entry);
}
- printf ("done\n");
-
fclose (fp);
return list;