[libsoup/cache] soup-cache: remove superflous cast
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Subject: [libsoup/cache] soup-cache: remove superflous cast
- Date: Mon, 27 Jul 2009 11:31:07 +0000 (UTC)
commit a8c8978d770d5500d090b98e59bd54cf14d9f800
Author: Xan Lopez <xan gnome org>
Date: Mon Jul 27 13:17:09 2009 +0300
soup-cache: remove superflous cast
libsoup/soup-cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-cache.c b/libsoup/soup-cache.c
index bdd419f..ad5abdb 100644
--- a/libsoup/soup-cache.c
+++ b/libsoup/soup-cache.c
@@ -211,7 +211,7 @@ soup_cache_entry_set_freshness (SoupCacheEntry *entry, SoupMessage *msg)
hash = soup_header_parse_param_list (cache_control);
/* Should we re-validate the entry when it goes stale */
- entry->must_revalidate = (gboolean)g_hash_table_lookup (hash, "must-revalidate");
+ entry->must_revalidate = g_hash_table_lookup (hash, "must-revalidate");
/* If 'max-age' cache directive is present, use that */
max_age = g_hash_table_lookup (hash, "max-age");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]