projects
/
platform
/
upstream
/
libsoup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f204ce5
)
Modified cache checking to remove unnecessary debugging log
02/73402/1
author
Seonah Moon
<seonah1.moon@samsung.com>
Wed, 8 Jun 2016 04:53:40 +0000
(13:53 +0900)
committer
Seonah Moon
<seonah1.moon@samsung.com>
Wed, 8 Jun 2016 04:53:43 +0000
(13:53 +0900)
Change-Id: I3aa1b45cba4fda72a2ee149af3ff757878103aed
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
libsoup/soup-cache.c
patch
|
blob
|
history
diff --git
a/libsoup/soup-cache.c
b/libsoup/soup-cache.c
index
c679ea8
..
11558ab
100755
(executable)
--- 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)