diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2016-06-08 13:53:40 +0900 |
---|---|---|
committer | Seonah Moon <seonah1.moon@samsung.com> | 2016-06-08 13:53:43 +0900 |
commit | 8220df52bc47a14ab63abf09cb41414afcbde678 (patch) | |
tree | 29bc6ba3d0c52bf8e60bd71dd55b6a00d3297ec5 | |
parent | f204ce5245d7b665d8a03cd42f3e2bb2ee2103be (diff) | |
download | libsoup-8220df52bc47a14ab63abf09cb41414afcbde678.tar.gz libsoup-8220df52bc47a14ab63abf09cb41414afcbde678.tar.bz2 libsoup-8220df52bc47a14ab63abf09cb41414afcbde678.zip |
Modified cache checking to remove unnecessary debugging log
Change-Id: I3aa1b45cba4fda72a2ee149af3ff757878103aed
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
-rwxr-xr-x | libsoup/soup-cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libsoup/soup-cache.c b/libsoup/soup-cache.c index c679ea8c..11558ab4 100755 --- a/libsoup/soup-cache.c +++ b/libsoup/soup-cache.c @@ -1944,7 +1944,8 @@ void soup_cache_entry_set_content_type (SoupSession *session, SoupMessage *msg, SoupCacheEntry *entry; SoupCache *cache = (SoupCache *)soup_session_get_feature (session, SOUP_TYPE_CACHE); - g_return_if_fail (SOUP_IS_CACHE (cache)); + if (!cache) + return; entry = soup_cache_entry_lookup (cache, msg); if (entry) |