Skip to content

Commit 216dc41

Browse files
author
soletan
committed
Update lib/connection.js
1 parent c921287 commit 216dc41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ p.parseMessage = function() {
306306
//read message length
307307
var length = this.parseInt32();
308308

309-
if(remaining >= length) {
309+
if(remaining > length) {
310310
var msg = {
311311
length: length
312312
};

0 commit comments

Comments
 (0)