aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_calendar_exchange.c
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-02-05 17:20:24 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-02-05 17:20:24 +0000
commit05ec01c46509e5b56f97c81f9ac412f202c3db53 (patch)
tree45751d8ec038b15119472e0c3ce6aa036a02ea68 /res/res_calendar_exchange.c
parent86c24efbe0cba6b62e52db09a30aeb82fcc1147a (diff)
Fix crash on 32-bit for users not using https
(closes issue #16778) Reported by: pitel Patches: diff.txt uploaded by twilson (license 396) Tested by: twilson, pitel git-svn-id: http://svn.digium.com/svn/asterisk/trunk@244945 f38db490-d61c-443f-a65b-d21fe96a405b
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);
}