diff options
author | Sverker Eriksson <[email protected]> | 2016-10-20 15:35:00 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-10-20 15:35:00 +0200 |
commit | 4b6071c7454de80efaa27b92397a1467a2ddeddb (patch) | |
tree | ac55e191d68de4ba9f1d8f9e5117569d15f79947 /lib | |
parent | 76d5dda52726197f0e207e44e76b1acc6343474b (diff) | |
parent | ad2c3de34f2452378b5c550ddc0795a1fe6efe4c (diff) | |
download | otp-4b6071c7454de80efaa27b92397a1467a2ddeddb.tar.gz otp-4b6071c7454de80efaa27b92397a1467a2ddeddb.tar.bz2 otp-4b6071c7454de80efaa27b92397a1467a2ddeddb.zip |
Merge branch 'maint'
Diffstat (limited to 'lib')
-rw-r--r-- | lib/erl_interface/src/connect/ei_connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/erl_interface/src/connect/ei_connect.c b/lib/erl_interface/src/connect/ei_connect.c index 624100ad49..c193fd804a 100644 --- a/lib/erl_interface/src/connect/ei_connect.c +++ b/lib/erl_interface/src/connect/ei_connect.c @@ -423,7 +423,7 @@ int ei_connect_xinit(ei_cnode* ec, const char *thishostname, } #endif /* _REENTRANT */ - ec->creation = creation; + ec->creation = creation & 0x3; /* 2 bits */ if (cookie) { if (strlen(cookie) >= sizeof(ec->ei_connect_cookie)) { @@ -462,7 +462,7 @@ int ei_connect_xinit(ei_cnode* ec, const char *thishostname, strcpy(ec->self.node,thisnodename); ec->self.num = 0; ec->self.serial = 0; - ec->self.creation = creation; + ec->self.creation = creation & 0x3; /* 2 bits */ if ((dbglevel = getenv("EI_TRACELEVEL")) != NULL || (dbglevel = getenv("ERL_DEBUG_DIST")) != NULL) |