[evolution-data-server] calendar: Remove dead code in HTTP backend



commit fdd7ef01d51ab7cd322dcb24b8ca6fb534bea31a
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Sun May 10 11:04:19 2015 +0100

    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

 calendar/backends/http/e-cal-backend-http.c |    3 ---
 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 e4f9afd..49d69a0 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);
                }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]