Skip to content

Commit ae59321

Browse files
authored
Merge pull request moscajs#699 from bachwehbi/master
Minor - 'nextId' should always fit in 'uint16'
2 parents f2b7c7a + c6cc7ce commit ae59321

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Client.prototype._buildForward = function() {
218218
forward = true,
219219
newId = this.nextId++;
220220

221-
// Make sure 'nextId' always fits in a uint8 (http://git.io/vmgKI).
221+
// Make sure 'nextId' always fits in a uint16 (http://git.io/vmgKI).
222222
this.nextId %= 65536;
223223

224224
var packet = {

0 commit comments

Comments
 (0)