aboutsummaryrefslogtreecommitdiff
path: root/benchmark/dgram/single-buffer.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/dgram/single-buffer.js')
-rw-r--r--benchmark/dgram/single-buffer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/dgram/single-buffer.js b/benchmark/dgram/single-buffer.js
index 8b81d7fbfc..e5fcac63f6 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++;
});