Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

nextId can not be initialized with 0 #350

Merged
merged 1 commit into from Sep 21, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function Client(conn, server) {
this.logger = server.logger;
this.subscriptions = {};

this.nextId = 0;
this.nextId = 1;
this.inflight = {};
this.inflightCounter = 0;
this._lastDedupId = -1;
Expand Down