summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/monitoring/AFB.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/monitoring/AFB.js b/test/monitoring/AFB.js
index 953fe96a..227b1a97 100644
--- a/test/monitoring/AFB.js
+++ b/test/monitoring/AFB.js
@@ -125,16 +125,16 @@ var AFB_websocket;
function fire(awaitens, name, data) {
var a = awaitens[name];
if (a)
- a.forEach(function(handler){handler(data);});
+ a.forEach(function(handler){handler(data, name);});
var i = name.indexOf("/");
if (i >= 0) {
a = awaitens[name.substring(0,i)];
if (a)
- a.forEach(function(handler){handler(data);});
+ a.forEach(function(handler){handler(data, name);});
}
a = awaitens["*"];
if (a)
- a.forEach(function(handler){handler(data);});
+ a.forEach(function(handler){handler(data, name);});
}
function reply(pendings, id, ans, offset) {