diff options
-rw-r--r-- | benchmark/dgram/multi-buffer.js | 2 | ||||
-rw-r--r-- | benchmark/dgram/offset-length.js | 2 | ||||
-rw-r--r-- | benchmark/dgram/single-buffer.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/dgram/multi-buffer.js b/benchmark/dgram/multi-buffer.js index 6a7fc9bfaf8..a0285c8c59e 100644 --- a/benchmark/dgram/multi-buffer.js +++ b/benchmark/dgram/multi-buffer.js @@ -64,7 +64,7 @@ function server() { }, dur * 1000); }); - socket.on('message', function(buf, rinfo) { + socket.on('message', function() { received++; }); diff --git a/benchmark/dgram/offset-length.js b/benchmark/dgram/offset-length.js index b897707ded5..0445f7b70be 100644 --- a/benchmark/dgram/offset-length.js +++ b/benchmark/dgram/offset-length.js @@ -56,7 +56,7 @@ function server() { }, dur * 1000); }); - socket.on('message', function(buf, rinfo) { + socket.on('message', function() { received++; }); diff --git a/benchmark/dgram/single-buffer.js b/benchmark/dgram/single-buffer.js index 8b81d7fbfc0..e5fcac63f64 100644 --- a/benchmark/dgram/single-buffer.js +++ b/benchmark/dgram/single-buffer.js @@ -56,7 +56,7 @@ function server() { }, dur * 1000); }); - socket.on('message', function(buf, rinfo) { + socket.on('message', function() { received++; }); |