File 5804-Update-eldap-info-1-documentation.patch of Package erlang
From b3c2362aec1241ee70f4647c55ac266d33b58e62 Mon Sep 17 00:00:00 2001
From: anupamasingh10 <anupamasingh31@gmail.com>
Date: Fri, 10 Mar 2023 19:25:11 +0100
Subject: [PATCH 4/8] Update eldap:info/1 documentation
---
lib/eldap/doc/src/eldap.xml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/eldap/doc/src/eldap.xml b/lib/eldap/doc/src/eldap.xml
index edc308ba52..aae0f346b9 100644
--- a/lib/eldap/doc/src/eldap.xml
+++ b/lib/eldap/doc/src/eldap.xml
@@ -549,14 +549,15 @@ Control2 = eldap:paged_result_control(PageSize, Cookie1),
</desc>
</func>
<func>
- <name since="OTP 26.0">info(Handle) -> #{socket := Socket, socket_type := tcp | ssl}</name>
- <fsummary>Returns the SSL or TCP socket for LDAP connection.
+ <name since="OTP 26.0">info(Handle) -> connection_info()</name>
+ <fsummary>Returns information about the LDAP connection.
</fsummary>
<type>
+ <v>connection_info() = #{socket := Socket, socket_type := tcp | ssl}</v>
<v>Socket = ssl:sslsocket() | gen_tcp:socket()</v>
</type>
- <desc><p>Returns the socket type and socket for a TCP/SSL connection
- to an LDAP server</p>
+ <desc><p>Currently available information reveals the socket and the transport
+ protocol, TCP or TLS (SSL), used by the LDAP connection.</p>
</desc>
</func>
--
2.35.3