summaryrefslogtreecommitdiff
path: root/libsoup/cache
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2020-11-12 15:34:02 +0100
committerCarlos Garcia Campos <cgarcia@igalia.com>2020-11-15 15:06:01 +0100
commitb4b865d8d62f4207059c187c345dca4d0349a77e (patch)
treed8c2202a347f54418ab55513e2d9763cd1f5ccfc /libsoup/cache
parent365056ee1e2cb7c3a17b44f91156e4808a477a6e (diff)
downloadlibsoup-b4b865d8d62f4207059c187c345dca4d0349a77e.tar.gz
Remove non-HTTP SoupStatus values
Stop using the message status for internal or transport errors and always use GError for those.
Diffstat (limited to 'libsoup/cache')
-rw-r--r--libsoup/cache/soup-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/cache/soup-cache.c b/libsoup/cache/soup-cache.c
index cd0ab5de..68ba5f26 100644
--- a/libsoup/cache/soup-cache.c
+++ b/libsoup/cache/soup-cache.c
@@ -1425,7 +1425,7 @@ soup_cache_cancel_conditional_request (SoupCache *cache,
if (entry)
entry->being_validated = FALSE;
- soup_session_cancel_message (priv->session, msg, SOUP_STATUS_CANCELLED);
+ soup_session_cancel_message (priv->session, msg, SOUP_STATUS_NONE);
}
void