aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/decode/decode_pid.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/decode/decode_pid.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/decode/decode_pid.c')
-rw-r--r--lib/erl_interface/src/decode/decode_pid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_interface/src/decode/decode_pid.c b/lib/erl_interface/src/decode/decode_pid.c
index d429fb2fd8..cd5ae2ab20 100644
--- a/lib/erl_interface/src/decode/decode_pid.c
+++ b/lib/erl_interface/src/decode/decode_pid.c
@@ -30,7 +30,7 @@ int ei_decode_pid(const char *buf, int *index, erlang_pid *p)
if (get8(s) != ERL_PID_EXT) return -1;
if (p) {
- if (get_atom(&s, p->node, &p->node_org_enc) < 0) return -1;
+ if (get_atom(&s, p->node, NULL) < 0) return -1;
p->num = get32be(s) & 0x7fff; /* 15 bits */
p->serial = get32be(s) & 0x1fff; /* 13 bits */
p->creation = get8(s) & 0x03; /* 2 bits */