aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/encode/encode_ref.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-02-22 15:15:01 +0100
committerSverker Eriksson <[email protected]>2013-02-22 15:15:01 +0100
commit13b1dcfc31b3c42affafc42c30105abfbebbfbf3 (patch)
tree8fa0291b2bd2dc9a1e800198c532a724a5b05f0e /lib/erl_interface/src/encode/encode_ref.c
parent7ad014ac10d87f520d031a9d969473a6bfe20bee (diff)
parent969224f54bec6d932aa61b9acc8e76b49604ebcc (diff)
downloadotp-13b1dcfc31b3c42affafc42c30105abfbebbfbf3.tar.gz
otp-13b1dcfc31b3c42affafc42c30105abfbebbfbf3.tar.bz2
otp-13b1dcfc31b3c42affafc42c30105abfbebbfbf3.zip
Merge branch 'sverk/erlang_pid-revert'
* sverk/erlang_pid-revert: erl_interface: Fix some warnings in test code erl_interface,ic: Remove node_org_enc from erlang_{pid,port,ref}
Diffstat (limited to 'lib/erl_interface/src/encode/encode_ref.c')
-rw-r--r--lib/erl_interface/src/encode/encode_ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_interface/src/encode/encode_ref.c b/lib/erl_interface/src/encode/encode_ref.c
index 3511366bef..9855231848 100644
--- a/lib/erl_interface/src/encode/encode_ref.c
+++ b/lib/erl_interface/src/encode/encode_ref.c
@@ -28,7 +28,7 @@ int ei_encode_ref(char *buf, int *index, const erlang_ref *p)
(*index) += 1 + 2; /* skip to node atom */
if (ei_encode_atom_len_as(buf, index, p->node, strlen(p->node), ERLANG_UTF8,
- p->node_org_enc) < 0) {
+ ERLANG_LATIN1|ERLANG_UTF8) < 0) {
return -1;
}