Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
6905-Update-lib-eldap-src-eldap.erl.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6905-Update-lib-eldap-src-eldap.erl.patch of Package erlang
From fe43c722b5d3f89cfa96e704e8f924bf0fe22461 Mon Sep 17 00:00:00 2001 From: anupamasingh10 <31176057+anupamasingh10@users.noreply.github.com> Date: Wed, 15 Mar 2023 12:14:49 +0100 Subject: [PATCH 5/8] Update lib/eldap/src/eldap.erl Co-authored-by: Kenneth Lundin <kenneth.lundin@gmail.com> --- lib/eldap/src/eldap.erl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/eldap/src/eldap.erl b/lib/eldap/src/eldap.erl index ab6363a28b..b9a2891fa7 100644 --- a/lib/eldap/src/eldap.erl +++ b/lib/eldap/src/eldap.erl @@ -617,13 +617,14 @@ loop(Cpid, Data) -> ?MODULE:loop(Cpid, Data); {From, info} -> - Res = + SocketType = case Data#eldap.ldaps of - true -> - #{socket => Data#eldap.fd, socket_type => ssl}; - false -> - #{socket => Data#eldap.fd, socket_type => tcp} + true -> + ssl; + false -> + tcp end, + Res = #{socket => Data#eldap.fd, socket_type => SocketType} , send(From, Res), ?MODULE:loop(Cpid, Data); -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor