Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Dgram: correctly report recvmsg errors

  • Loading branch information...
commit 83152d174cbba36f967cab775260262d98706475 1 parent 86fba38
@piscisaureus piscisaureus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/dgram.js
View
2  lib/dgram.js
@@ -300,7 +300,7 @@ function onMessage(handle, nread, buf, rinfo) {
var self = handle.socket;
if (nread == -1) {
- self.emit('error', errnoException('recvmsg'));
+ self.emit('error', errnoException(errno, 'recvmsg'));
}
else {
rinfo.size = buf.length; // compatibility
Please sign in to comment.
Something went wrong with that request. Please try again.