aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Cornish <[email protected]>2009-12-14 11:24:44 -0800
committerSimon Cornish <[email protected]>2009-12-14 11:24:44 -0800
commitd0db8662b8a587f1be6a90b5018d4e6be20ca6ba (patch)
treed3303a87f690b0397d3b7cdf066386029414bbde
parent856e8f2ebddd70f6556fbaf87e0b624d6e3c5cb6 (diff)
downloadotp-d0db8662b8a587f1be6a90b5018d4e6be20ca6ba.tar.gz
otp-d0db8662b8a587f1be6a90b5018d4e6be20ca6ba.tar.bz2
otp-d0db8662b8a587f1be6a90b5018d4e6be20ca6ba.zip
Fix ei_skip_term() handling of funs encoded as NEW_FUN_EXT
-rw-r--r--lib/erl_interface/src/decode/decode_skip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/erl_interface/src/decode/decode_skip.c b/lib/erl_interface/src/decode/decode_skip.c
index 2fc68a3601..316b5bee98 100644
--- a/lib/erl_interface/src/decode/decode_skip.c
+++ b/lib/erl_interface/src/decode/decode_skip.c
@@ -80,6 +80,7 @@ int ei_skip_term(const char* buf, int* index)
if (ei_decode_double(buf, index, NULL) < 0) return -1;
break;
case ERL_FUN_EXT:
+ case ERL_NEW_FUN_EXT:
if (ei_decode_fun(buf, index, NULL) < 0) return -1;
break;
default: