Skip to content

Commit

Permalink
#5 Wrong callback called in the traceRoute() method when a session …
Browse files Browse the repository at this point in the history
…ID cannot be generated
  • Loading branch information
Stephen Vickers committed Feb 29, 2016
1 parent 35e56b1 commit 5530898
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
2 changes: 0 additions & 2 deletions .hgignore

This file was deleted.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,11 @@ Bug reports should be sent to <stephen.vickers.sv@gmail.com>.

* Host repository on GitHub

## Version 1.2.0 - 29/02/2016

* Wrong callback called in the `traceRoute()` method when a session ID cannot
be generated

# Roadmap

Suggestions and requirements should be sent to <stephen.vickers.sv@gmail.com>.
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ Session.prototype.traceRoute = function (target, ttl, feedCallback,
var id = this._generateId ();
if (! id) {
var sent = new Date ();
callback (new Error ("Too many requests outstanding"), target,
doneCallback (new Error ("Too many requests outstanding"), target,
sent, sent);
return this;
}
Expand Down

0 comments on commit 5530898

Please sign in to comment.