aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2019-04-11 14:10:35 +0200
committerSverker Eriksson <[email protected]>2019-04-11 14:10:35 +0200
commit2d08555fdece828f226ac8106670ce8f67db2524 (patch)
tree5174349be6d7bf0f89828ac6485caba1c7d50749 /erts/emulator
parent508738f4dcd3c8c83fffb55c2ad5c365f80dc7c4 (diff)
parente987f2abac0691999469f9a93e0f822b02e7119a (diff)
downloadotp-2d08555fdece828f226ac8106670ce8f67db2524.tar.gz
otp-2d08555fdece828f226ac8106670ce8f67db2524.tar.bz2
otp-2d08555fdece828f226ac8106670ce8f67db2524.zip
Merge branch 'sverker/node-table-cmp-0-creation-fix'
* sverker/node-table-cmp-0-creation-fix: erts: Revert creation 0 as wildcard in node_table_cmp
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_node_tables.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_node_tables.c b/erts/emulator/beam/erl_node_tables.c
index 5eb9939b73..4eb6c3e214 100644
--- a/erts/emulator/beam/erl_node_tables.c
+++ b/erts/emulator/beam/erl_node_tables.c
@@ -805,8 +805,7 @@ static int
node_table_cmp(void *venp1, void *venp2)
{
return ((((ErlNode *) venp1)->sysname == ((ErlNode *) venp2)->sysname) &&
- ((((ErlNode *) venp1)->creation == ((ErlNode *) venp2)->creation) ||
- (((ErlNode *) venp1)->creation == 0 || ((ErlNode *) venp2)->creation == 0))
+ ((((ErlNode *) venp1)->creation == ((ErlNode *) venp2)->creation))
? 0
: 1);
}