Coalesced redundant code

pull/1723/head
murgatroid99 10 years ago
parent fe29b6dea1
commit 6d1a8449d1
  1. 6
      src/node/src/client.js

@ -80,11 +80,7 @@ function _write(chunk, encoding, callback) {
var batch = {};
batch[grpc.opType.SEND_MESSAGE] = this.serialize(chunk);
this.call.startBatch(batch, function(err, event) {
if (err) {
callback(err);
return;
}
callback();
callback(err);
});
}

Loading…
Cancel
Save