aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src
diff options
context:
space:
mode:
authorArtem Teslenko <[email protected]>2012-05-17 15:19:56 +0300
committerArtem Teslenko <[email protected]>2012-05-17 15:19:56 +0300
commit24367b7d5169f9382550de38101a6bc247b70060 (patch)
tree6d34ba853006db2945d26819130cfcde4b2faf41 /lib/asn1/src
parenta1a8c859540dae42ac287a495301f7e6317ff3c3 (diff)
downloadotp-24367b7d5169f9382550de38101a6bc247b70060.tar.gz
otp-24367b7d5169f9382550de38101a6bc247b70060.tar.bz2
otp-24367b7d5169f9382550de38101a6bc247b70060.zip
Fix typo error in selected decode function
Diffstat (limited to 'lib/asn1/src')
-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) ->