aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_calendar_exchange.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_calendar_exchange.c')
-rw-r--r--res/res_calendar_exchange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_calendar_exchange.c b/res/res_calendar_exchange.c
index 4722e6e88..8bead3a7e 100644
--- a/res/res_calendar_exchange.c
+++ b/res/res_calendar_exchange.c
@@ -694,7 +694,7 @@ static void *exchangecal_load_calendar(void *void_data)
pvt->session = ne_session_create(pvt->uri.scheme, pvt->uri.host, pvt->uri.port);
ne_set_server_auth(pvt->session, auth_credentials, pvt);
- if (!strncasecmp(pvt->uri.scheme, "https", sizeof(pvt->uri.scheme))) {
+ if (!strcasecmp(pvt->uri.scheme, "https")) {
ne_ssl_trust_default_ca(pvt->session);
}