Skip to content

Commit

Permalink
Fixed connection debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Oct 18, 2020
1 parent 362a5eb commit 9b6a3ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/util/eventedhttp.ts
Expand Up @@ -109,9 +109,8 @@ export class EventedHTTPServer extends EventEmitter {
for (const connection of this.connections) {
if (connectionString) {
connectionString += ", ";
} else {
connectionString += connection.remoteAddress + ":" + connection.remotePort;
}
connectionString += connection.remoteAddress + ":" + connection.remotePort;
}
debug("Current " + this.connections.size + " hap connections open: " + connectionString);
}, 60000);
Expand Down

0 comments on commit 9b6a3ce

Please sign in to comment.