summaryrefslogtreecommitdiff
path: root/libsoup
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2017-11-30 18:18:15 +0200
committerClaudio Saavedra <csaavedra@igalia.com>2017-11-30 18:19:19 +0200
commita500e1fb7be2510806cb5f002cc5c96e839bbea8 (patch)
tree274c21c7dfa9d198c250a9b52ccd739a2fc0e641 /libsoup
parent6aa8d307558da4697ed510d888abab3fc0209afc (diff)
downloadlibsoup-a500e1fb7be2510806cb5f002cc5c96e839bbea8.tar.gz
SoupCache: fix the timestamp for responses
https://bugzilla.gnome.org/show_bug.cgi?id=791031
Diffstat (limited to 'libsoup')
-rw-r--r--libsoup/soup-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/soup-cache.c b/libsoup/soup-cache.c
index 5964d605..682625e6 100644
--- a/libsoup/soup-cache.c
+++ b/libsoup/soup-cache.c
@@ -855,7 +855,7 @@ soup_cache_content_processor_wrap_input (SoupContentProcessor *processor,
soup_cache_entry_remove (cache, entry, TRUE);
request_time = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (msg), "request-time"));
- response_time = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (msg), "request-time"));
+ response_time = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (msg), "response-time"));
entry = soup_cache_entry_new (cache, msg, request_time, response_time);
entry->hits = 1;
entry->dirty = TRUE;