aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-06-14 16:21:56 +0200
committerRickard Green <[email protected]>2017-06-14 16:21:56 +0200
commit5337eff8e86e352eb5ca63cc07bb9880a4f5c9ec (patch)
tree677cd45a462debe83c6a599034d15deb9c690a35
parent03bedf49b6ad81ee6a78ec40137c782989fe98bf (diff)
downloadotp-5337eff8e86e352eb5ca63cc07bb9880a4f5c9ec.tar.gz
otp-5337eff8e86e352eb5ca63cc07bb9880a4f5c9ec.tar.bz2
otp-5337eff8e86e352eb5ca63cc07bb9880a4f5c9ec.zip
Fix minor vsn 1 in term_to_binary/2 broken in this branch
-rw-r--r--erts/emulator/beam/external.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c
index 95275847f8..1560844521 100644
--- a/erts/emulator/beam/external.c
+++ b/erts/emulator/beam/external.c
@@ -1131,6 +1131,7 @@ BIF_RETTYPE term_to_binary_2(BIF_ALIST_2)
break;
case 1: /* Current default... */
flags = TERM_TO_BINARY_DFLAGS;
+ break;
case 2:
flags = TERM_TO_BINARY_DFLAGS | DFLAG_UTF8_ATOMS;
break;