File 0638-ssh-fix-indentation-issues.patch of Package erlang

From 4cdaf257e5b4c575906547924bab5fa1eeaee990 Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Fri, 27 Jan 2023 08:07:36 +0100
Subject: [PATCH 2/2] ssh: fix indentation issues

---
 lib/ssh/src/ssh.erl         |  4 ++--
 lib/ssh/src/ssh_dbg.erl     | 10 +++++-----
 lib/ssh/src/ssh_options.erl |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl
index ef8765338d..a0aa89efc8 100644
--- a/lib/ssh/src/ssh.erl
+++ b/lib/ssh/src/ssh.erl
@@ -944,9 +944,9 @@ is_host(X, Opts) ->
 
 is_host1(L) when is_list(L) -> true; %% "string()"
 is_host1(T) when tuple_size(T)==4 -> lists:all(fun(I) -> 0=<I andalso I=<255 end,
-                                                      tuple_to_list(T));
+                                               tuple_to_list(T));
 is_host1(T) when tuple_size(T)==16 -> lists:all(fun(I) -> 0=<I andalso I=<65535 end,
-                                                       tuple_to_list(T));
+                                                tuple_to_list(T));
 is_host1(loopback) -> true.
 
 %%%----------------------------------------------------------------
diff --git a/lib/ssh/src/ssh_dbg.erl b/lib/ssh/src/ssh_dbg.erl
index 16957f0771..e825ef58a9 100644
--- a/lib/ssh/src/ssh_dbg.erl
+++ b/lib/ssh/src/ssh_dbg.erl
@@ -157,11 +157,11 @@ go_on() ->
 
 %%%----------------------------------------------------------------
 shrink_bin(B) when is_binary(B), byte_size(B)>256 -> {'*** SHRUNK BIN',
-						 byte_size(B),
-						 element(1,split_binary(B,64)),
-						 '...',
-						 element(2,split_binary(B,byte_size(B)-64))
-						};
+                                              byte_size(B),
+                                              element(1,split_binary(B,64)),
+                                              '...',
+                                              element(2,split_binary(B,byte_size(B)-64))
+                                             };
 shrink_bin(L) when is_list(L) -> lists:map(fun shrink_bin/1, L);
 shrink_bin(T) when is_tuple(T) -> list_to_tuple(shrink_bin(tuple_to_list(T)));
 shrink_bin(X) -> X.
diff --git a/lib/ssh/src/ssh_options.erl b/lib/ssh/src/ssh_options.erl
index 884effa2a7..fa2dd6b6f7 100644
--- a/lib/ssh/src/ssh_options.erl
+++ b/lib/ssh/src/ssh_options.erl
@@ -176,7 +176,7 @@ handle_options(Role, PropList0) ->
 handle_options(Role, OptsList0, Opts0) when is_map(Opts0),
                          is_list(OptsList0) ->
     OptsList1 = proplists:unfold(
-                  lists:foldr(fun(T,Acc) when tuple_size(T) =/= 2-> [{special_trpt_args,T} | Acc];
+                  lists:foldr(fun(T,Acc) when tuple_size(T) =/= 2 -> [{special_trpt_args,T} | Acc];
                                  (X,Acc) -> [X|Acc]
                               end,
                               [], OptsList0)),
-- 
2.35.3

openSUSE Build Service is sponsored by