Skip to content

Commit

Permalink
Fix Missing Function Error
Browse files Browse the repository at this point in the history
  • Loading branch information
Konloch committed Nov 22, 2023
1 parent c225dc4 commit 53c2270
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void run()
else
client.setInputRead(false);

buffer.clear();
((java.nio.Buffer) buffer).clear();

//processing writing (only write when asked to)
if (client.isOutputWrite())
Expand Down Expand Up @@ -119,7 +119,7 @@ public void run()
buffer.put(bufferDump, offset, readMax);

//flip the stored data
buffer.flip();
((java.nio.Buffer) buffer).flip();

//reset the network activity
client.resetLastNetworkActivityWrite();
Expand All @@ -128,7 +128,7 @@ public void run()
client.getSocket().write(buffer);

//clear the buffer
buffer.clear();
((java.nio.Buffer) buffer).clear();
}
else
{
Expand Down

0 comments on commit 53c2270

Please sign in to comment.