Projects
Kolab:16
guam
0004-update-this-function-for-the-data-structur...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-update-this-function-for-the-data-structure-change-i.patch of Package guam (Revision 9)
Currently displaying revision
9
,
Show latest
From 130349adeef36dcbcf65e5435d16e66974f60804 Mon Sep 17 00:00:00 2001 From: Aaron Seigo <aseigo@kde.org> Date: Mon, 20 Jun 2016 13:31:59 +0200 Subject: [PATCH 4/8] update this function for the data structure change in eimap 0.2 --- apps/kolab_guam/src/kolab_guam_session.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/kolab_guam/src/kolab_guam_session.erl b/apps/kolab_guam/src/kolab_guam_session.erl index 60a28cb..69e239c 100644 --- a/apps/kolab_guam/src/kolab_guam_session.erl +++ b/apps/kolab_guam/src/kolab_guam_session.erl @@ -303,7 +303,8 @@ add_starttls_to_capabilities(ServerHello) -> <<Prefix/binary, "STARTTLS ", Suffix/binary>> end. -ensure_hello_does_not_have_starttls(ServerHello) -> +ensure_hello_does_not_have_starttls(ServerResponse) -> + ServerHello = proplists:get_value(capabilities, ServerResponse, <<>>), case binary:match(ServerHello, <<"STARTTLS">>) of nomatch -> ServerHello; { Start, End } -> -- 2.5.5
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.