diff options
author | Raimo Niskanen <[email protected]> | 2013-11-05 15:52:56 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2013-11-07 14:06:45 +0100 |
commit | bb52546e9a671ed0fd55d2e5274f299a853bed51 (patch) | |
tree | dfa6f2cc7761e0e01e79753a5aa484d1fe27b2c8 /erts/emulator/beam | |
parent | abac2eda110a33d8310c0f9cc152d91de37f731d (diff) | |
download | otp-bb52546e9a671ed0fd55d2e5274f299a853bed51.tar.gz otp-bb52546e9a671ed0fd55d2e5274f299a853bed51.tar.bz2 otp-bb52546e9a671ed0fd55d2e5274f299a853bed51.zip |
Implement prim_inet:socknames/1,2 and prim_inet:peernames/1,2
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c index c1e66b59af..aeecea1ff5 100644 --- a/erts/emulator/beam/io.c +++ b/erts/emulator/beam/io.c @@ -4078,7 +4078,7 @@ erts_port_control(Process* c_p, copy = 1; else { binp = ((ProcBin *) ebinp)->val; - ASSERT(bufp < bufp + size); + ASSERT(bufp <= bufp + size); ASSERT(binp->orig_bytes <= bufp && bufp + size <= binp->orig_bytes + binp->orig_size); erts_refc_inc(&binp->refc, 1); |