aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/connect/ei_connect.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2019-04-08 17:59:40 +0200
committerSverker Eriksson <[email protected]>2019-04-12 18:28:29 +0200
commit46aa940b9d771c4806aacaf065c2f637474e9815 (patch)
treec86b53eb31475a5887e2576e164d85b955834949 /lib/erl_interface/src/connect/ei_connect.c
parentef92738bd1725ec43f58f78ac8d9f271dcb99c8a (diff)
downloadotp-46aa940b9d771c4806aacaf065c2f637474e9815.tar.gz
otp-46aa940b9d771c4806aacaf065c2f637474e9815.tar.bz2
otp-46aa940b9d771c4806aacaf065c2f637474e9815.zip
erl_interface: Remove old r9 pid and port compatibility
Diffstat (limited to 'lib/erl_interface/src/connect/ei_connect.c')
-rw-r--r--lib/erl_interface/src/connect/ei_connect.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/erl_interface/src/connect/ei_connect.c b/lib/erl_interface/src/connect/ei_connect.c
index 7a304e6d4f..e75c4aadb5 100644
--- a/lib/erl_interface/src/connect/ei_connect.c
+++ b/lib/erl_interface/src/connect/ei_connect.c
@@ -1941,8 +1941,7 @@ static int recv_challenge(ei_socket_callbacks *cbs, void *ctx,
goto error;
}
- if (!(*flags & DFLAG_EXTENDED_PIDS_PORTS)
- && !ei_internal_use_r9_pids_ports()) {
+ if (!(*flags & DFLAG_EXTENDED_PIDS_PORTS)) {
EI_TRACE_ERR0("recv_challenge","<- RECV_CHALLENGE peer cannot "
"handle extended pids and ports");
erl_errno = EIO;
@@ -2236,8 +2235,7 @@ static int recv_name(ei_socket_callbacks *cbs, void *ctx,
goto error;
}
- if (!(*flags & DFLAG_EXTENDED_PIDS_PORTS)
- && !ei_internal_use_r9_pids_ports()) {
+ if (!(*flags & DFLAG_EXTENDED_PIDS_PORTS)) {
EI_TRACE_ERR0("recv_name","<- RECV_NAME peer cannot "
"handle extended pids and ports");
erl_errno = EIO;