Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
splitice committed Feb 20, 2024
1 parent 51a34c9 commit 3344b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ class Socket extends EventEmitter {
}

onRecvReady () {
let buffer = this.buffer
try {
let buffer = this.buffer
this.wrap.recv (buffer, (bytes, source)=>{
if(bytes < 0) {
this.emit ("return", buffer);
Expand Down

0 comments on commit 3344b01

Please sign in to comment.