Skip to content

Commit

Permalink
Fix typo error in selected decode function
Browse files Browse the repository at this point in the history
  • Loading branch information
ates committed May 17, 2012
1 parent a1a8c85 commit 24367b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asn1/src/asn1ct_gen_ber_bin_v2.erl
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ gen_decode_selected(Erules,Type,FuncName) ->
" {Tlv,_} = ?RT_BER:decode(Bin2",asn1ct_gen:nif_parameter(),"),",nl]),
emit("{ok,"),
gen_decode_selected_type(Erules,Type),
emit(["};",nl," Err -> exit({error,{selctive_decode,Err}})",nl,
emit(["};",nl," Err -> exit({error,{selective_decode,Err}})",nl,
" end.",nl]).

gen_decode_selected_type(_Erules,TypeDef) ->
Expand Down

0 comments on commit 24367b7

Please sign in to comment.