Skip to content

Commit

Permalink
Merge pull request #108 from kianmeng/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
vstavskyi authored Apr 5, 2022
2 parents 49a5bac + 4376a9c commit d39753d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/jamdb_oracle_tns_decoder.erl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ decode_token(oac, Data) ->
Scale = decode_ub2(C),
D = decode_next(ub2,C), %data scale
Length = decode_ub4(D),
E = decode_next(ub4,D), %max data lenght
E = decode_next(ub4,D), %max data length
F = decode_next(ub4,E), %mal
G = decode_next(ub4,F), %fl2
J = decode_next(dalc,G), %toid
Expand Down Expand Up @@ -314,7 +314,7 @@ decode_next(rxh,Data) ->
B = decode_next(ub2,A), %Number of Requests
C = decode_next(ub2,B), %Iteration Number
D = decode_next(ub2,C), %Num. Iterations this time
E = decode_next(ub2,D), %UAC bufffer length
E = decode_next(ub2,D), %UAC buffer length
F = decode_next(dalc,E), %Bitvec
decode_next(dalc,F);
decode_next(rpa,Data) ->
Expand Down
2 changes: 1 addition & 1 deletion src/jamdb_oracle_tns_encoder.erl
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ encode_token(oac, DataType, Length, Flag, Charset, Max) ->
3, %flg
0, %pre
0, %data scale
(encode_sb4(Length))/binary, %max data lenght
(encode_sb4(Length))/binary, %max data length
0, %mal
(encode_sb4(Flag))/binary, %fl2
0, %toid
Expand Down

0 comments on commit d39753d

Please sign in to comment.