Permalink
Browse files

misc

  • Loading branch information...
1 parent 64a5a79 commit 76d0f103f1a0a485d75995e0fa1dd2a7ad39a779 @tj tj committed Mar 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/http/broker.js
View
@@ -3,12 +3,12 @@ var zmq = require('../../')
, router = zmq.socket('router')
, dealer = zmq.socket('dealer');
-router.on('message', function(){
+router.on('message', function(envelope, id){
var args = Array.apply(null, arguments);
dealer.send(args);
});
-dealer.on('message', function(){
+dealer.on('message', function(envelope, id){
var args = Array.apply(null, arguments);
router.send(args);
});

0 comments on commit 76d0f10

Please sign in to comment.