From: isaacs Date: Wed, 26 Dec 2012 23:26:53 +0000 (-0800) Subject: lint X-Git-Tag: v0.8.17~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54740c8b247c9ce50a4400142004fd05ec098e21;p=platform%2Fupstream%2Fnodejs.git lint --- diff --git a/lib/http.js b/lib/http.js index d322ab255..f5418b00f 100644 --- a/lib/http.js +++ b/lib/http.js @@ -816,13 +816,13 @@ OutgoingMessage.prototype.end = function(data, encoding) { var data_len = data.length; var trailer_len = this._trailer.length; - var len = header_len - + chunk_size_len - + 2 // '\r\n'.length - + data_len - + 5 // '\r\n0\r\n'.length - + trailer_len - + 2; // '\r\n'.length + var len = header_len + + chunk_size_len + + 2 + // '\r\n'.length + data_len + + 5 + // '\r\n0\r\n'.length + trailer_len + + 2; // '\r\n'.length var buf = new Buffer(len); var off = 0;