diff options
author | Dan Winship <danw@src.gnome.org> | 2000-10-30 04:06:29 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-10-30 04:06:29 +0800 |
commit | 65f9e9cd94a701aee2ac89cf38009fa08157e887 (patch) | |
tree | f130ab35c936b854d9f62f6b1fafe4e0ccec2c7c /camel/providers/nntp | |
parent | f860c394b4d093633a79c185cde2b4f95d01dad2 (diff) | |
download | gsoc2013-evolution-65f9e9cd94a701aee2ac89cf38009fa08157e887.tar.gz gsoc2013-evolution-65f9e9cd94a701aee2ac89cf38009fa08157e887.tar.zst gsoc2013-evolution-65f9e9cd94a701aee2ac89cf38009fa08157e887.zip |
Remove md5-utils.h include since it's not part of Camel any more.
* camel.h: Remove md5-utils.h include since it's not part of Camel
any more.
* camel-charset-map.c: Kill some warnings.
* providers/nntp/camel-nntp-grouplist.c
(camel_nntp_get_grouplist_from_file, camel_nntp_grouplist_save):
Clean up warnings about time_t casts.
* providers/smtp/camel-smtp-transport.c: Remove unused md5-utils.h
include.
* providers/pop3/camel-pop3-store.c: Undefine the "_" macro
defined by krb4's des.h when compiling with krb support.
Fix md5-utils.h include.
svn path=/trunk/; revision=6253
Diffstat (limited to 'camel/providers/nntp')
-rw-r--r-- | camel/providers/nntp/camel-nntp-grouplist.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/camel/providers/nntp/camel-nntp-grouplist.c b/camel/providers/nntp/camel-nntp-grouplist.c index 98aac2a03b..d7ee85d182 100644 --- a/camel/providers/nntp/camel-nntp-grouplist.c +++ b/camel/providers/nntp/camel-nntp-grouplist.c @@ -83,6 +83,7 @@ camel_nntp_get_grouplist_from_file (CamelNNTPStore *store, CamelException *ex) CamelNNTPGroupList *list; FILE *fp; char buf[300]; + unsigned long time; g_free (root_dir); fp = fopen (grouplist_file, "r"); @@ -109,7 +110,8 @@ camel_nntp_get_grouplist_from_file (CamelNNTPStore *store, CamelException *ex) list = g_new0 (CamelNNTPGroupList, 1); list->store = store; - sscanf (buf, "%d", &list->time); + sscanf (buf, "%lu", &time); + list->time = time; while (fgets (buf, 300, fp)) { CamelNNTPGroupListEntry *entry = g_new (CamelNNTPGroupListEntry, 1); @@ -154,7 +156,7 @@ camel_nntp_grouplist_save (CamelNNTPGroupList *group_list, CamelException *ex) return; } - fprintf (fp, "%d\n", group_list->time); /* XXX */ + fprintf (fp, "%lu\n", (long)group_list->time); g_list_foreach (group_list->group_list, (GFunc)save_entry, fp); |