pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/erlang/osmo_gsup/+/35648?usp=email )


Change subject: cosmetic: gsup_protocol.erl: Fix trailing whitespace
......................................................................

cosmetic: gsup_protocol.erl: Fix trailing whitespace

Change-Id: I9c894440818040151015283b0df7e1646110f5d5
---
M src/gsup_protocol.erl
1 file changed, 13 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_gsup 
refs/changes/48/35648/1

diff --git a/src/gsup_protocol.erl b/src/gsup_protocol.erl
index 5dd4bda..41e7dd6 100644
--- a/src/gsup_protocol.erl
+++ b/src/gsup_protocol.erl
@@ -2,7 +2,7 @@
 % License, v. 2.0. If a copy of the MPL was not distributed with this
 % file, You can obtain one at https://mozilla.org/MPL/2.0/.
 % (C) 2019 Andrey Velikiy <[email protected]>
-% (C) 2019 Fairwaves (edited)
+% (C) 2019 Fairwaves (edited)

 -module(gsup_protocol).

@@ -34,7 +34,7 @@
         true -> GSUPMessage;
         false -> error({mandatory_ie_missing, MsgTypeAtom, Mandatory -- 
maps:keys(GSUPMessage)})
       end;
-    _ ->
+    _ ->
       error({unknown_gsup_msg_type, MsgType})
   end.

@@ -299,13 +299,13 @@
       Possible = Mandatory ++ maps:get(optional, Map, []) ++ ?OPTIONAL_DEFAULT,
       case {maps:size(maps:with(Mandatory, GSUPMessage)) == length(Mandatory),
             maps:size(maps:without(Possible, GSUPMessage)) == 0} of
-        {true, true} ->
+        {true, true} ->
           Tail = encode_ie(GSUPMessage, <<>>),
           <<MsgType, Tail/binary>>;
         {false, _} -> error({mandatory_ie_missing, MsgTypeAtom, Mandatory -- 
maps:keys(GSUPMessage)});
         {_, false} -> error({ie_not_expected, MsgTypeAtom, 
maps:keys(GSUPMessage) -- Possible})
       end;
-    _ ->
+    _ ->
       error({unknown_gsup_msg_type, MsgType})
   end.


--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_gsup/+/35648?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: erlang/osmo_gsup
Gerrit-Branch: master
Gerrit-Change-Id: I9c894440818040151015283b0df7e1646110f5d5
Gerrit-Change-Number: 35648
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to