[libsoup/cache] soup-cache: silence compiler warning
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libsoup/cache] soup-cache: silence compiler warning
- Date: Thu, 6 Aug 2009 08:02:57 +0000 (UTC)
commit 96192625b05679996f750ed24e480a666540d99e
Author: Xan Lopez <xan gnome org>
Date: Wed Aug 5 14:30:16 2009 +0300
soup-cache: silence compiler warning
This was needed after all.
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 cf93b1a..76f9305 100644
--- a/libsoup/soup-cache.c
+++ b/libsoup/soup-cache.c
@@ -222,7 +222,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 = g_hash_table_lookup (hash, "must-revalidate");
+ entry->must_revalidate = (gboolean)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]