Permalink
Browse files

match callback signature

  • Loading branch information...
1 parent 13e6229 commit 95041447f860e158a1f7887e7208b31abcded238 @bjyoungblood bjyoungblood committed Dec 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 server-example.js
View
@@ -28,7 +28,7 @@ var messageId = 0;
var shortyServer = shorty.createServer('config.json');
// all event handlers must be set up before calling shortyServer.start()
-shortyServer.on('bind', function(client, callback) {
+shortyServer.on('bind', function(pdu, client, callback) {
callback("ESME_ROK");
});

0 comments on commit 9504144

Please sign in to comment.