Permalink
Browse files

re-added callback

  • Loading branch information...
1 parent e1b46ba commit 0f652c3f6787293360a5fdb0fa5a3e7c5ee71e9b @jfd jfd committed Apr 24, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
@@ -152,7 +152,7 @@ Connection.prototype.writeOpen = function(ch, mode, data, callback) {
return this._writePacket(ch, OPEN << 4 | mode, data);
};
-Connection.prototype.writeData = function(ch, priority, data) {
+Connection.prototype.writeData = function(ch, priority, data, callback) {
if (!data) {
data = new Buffer("");
@@ -165,7 +165,7 @@ Connection.prototype.writeData = function(ch, priority, data) {
return this._writePacket(ch, DATA << 4 | priority, data, callback);
};
-Connection.prototype.writeSignal = function(ch, type, data) {
+Connection.prototype.writeSignal = function(ch, type, data, callback) {
if (!data) {
data = new Buffer("");

0 comments on commit 0f652c3

Please sign in to comment.