framer: another style fix.

This commit is contained in:
Christopher Jeffrey 2014-06-03 09:46:19 -05:00
parent 841bf86d7d
commit 4dd8a54501

View File

@ -91,10 +91,9 @@ Framer.prototype.version = function version(packet) {
p[off++] = 0; p[off++] = 0;
} else { } else {
off += varint(p, this.agent.length, off); off += varint(p, this.agent.length, off);
for (var i = 0; i < this.agent.length; i++) { for (var i = 0; i < this.agent.length; i++)
p[off++] = this.agent[i]; p[off++] = this.agent[i];
} }
}
// Start height // Start height
off += writeU32(p, packet.height || 0, off); off += writeU32(p, packet.height || 0, off);