summaryrefslogtreecommitdiff
path: root/calendar
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2015-05-10 11:04:19 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-05-12 00:07:03 +0100
commitfdd7ef01d51ab7cd322dcb24b8ca6fb534bea31a (patch)
treeaf48e5d42f2f6886f6bdbd6bdb30427725f27eb8 /calendar
parentcc95f4518333e55dddbef7f6187a066cf5e6c841 (diff)
downloadevolution-data-server-fdd7ef01d51ab7cd322dcb24b8ca6fb534bea31a.tar.gz
calendar: Remove dead code in HTTP backend
The HTTP status cannot be SOUP_STATUS_SSL_FAILED inside the SOUP_STATUS_IS_REDIRECTION block. Spotted by Coverity. CID: #1296551 https://bugzilla.gnome.org/show_bug.cgi?id=749190
Diffstat (limited to 'calendar')
-rw-r--r--calendar/backends/http/e-cal-backend-http.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/calendar/backends/http/e-cal-backend-http.c b/calendar/backends/http/e-cal-backend-http.c
index e4f9afdd8..49d69a088 100644
--- a/calendar/backends/http/e-cal-backend-http.c
+++ b/calendar/backends/http/e-cal-backend-http.c
@@ -584,9 +584,6 @@ cal_backend_http_load (ECalBackendHttp *backend,
if (success) {
e_source_set_connection_status (source, E_SOURCE_CONNECTION_STATUS_CONNECTED);
- } else if (status_code == SOUP_STATUS_SSL_FAILED) {
- e_source_set_connection_status (source, E_SOURCE_CONNECTION_STATUS_SSL_FAILED);
- cal_backend_http_extract_ssl_failed_data (soup_message, out_certificate_pem, out_certificate_errors);
} else {
e_source_set_connection_status (source, E_SOURCE_CONNECTION_STATUS_DISCONNECTED);
}