aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2012-07-18 11:00:06 +0200
committerHenrik Nord <[email protected]>2012-07-18 11:00:14 +0200
commite10b54d9b94c5deb821a708a5ae7e72d34fd0f14 (patch)
tree4e47c62c0e218e9dd94478f53985609741c84c17
parentf3528e0a5ecb2f655f9d2e5de996424defcdf1c9 (diff)
parent24367b7d5169f9382550de38101a6bc247b70060 (diff)
downloadotp-e10b54d9b94c5deb821a708a5ae7e72d34fd0f14.tar.gz
otp-e10b54d9b94c5deb821a708a5ae7e72d34fd0f14.tar.bz2
otp-e10b54d9b94c5deb821a708a5ae7e72d34fd0f14.zip
Merge branch 'at/fix_asn1_typo' into maint
* at/fix_asn1_typo: Fix typo error in selected decode function OTP-10152
-rw-r--r--lib/asn1/src/asn1ct_gen_ber_bin_v2.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_gen_ber_bin_v2.erl b/lib/asn1/src/asn1ct_gen_ber_bin_v2.erl
index 597fb0030b..3ccfca3784 100644
--- a/lib/asn1/src/asn1ct_gen_ber_bin_v2.erl
+++ b/lib/asn1/src/asn1ct_gen_ber_bin_v2.erl
@@ -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) ->