I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 4021deec authored by mihi's avatar mihi Committed by zzz
Browse files

poke jrandom's eyes into the semantic of an "else" clause

(you may remove both comments when you understood it)

[mihi]
parent a3977f37
No related branches found
No related tags found
No related merge requests found
...@@ -378,6 +378,9 @@ class I2PSocketImpl implements I2PSocket { ...@@ -378,6 +378,9 @@ class I2PSocketImpl implements I2PSocket {
// but perhaps there's something funky in the stream's operation, // but perhaps there's something funky in the stream's operation,
// or some other dependency within the rest of the ministreaming // or some other dependency within the rest of the ministreaming
// lib, so for the moment, return false. --jr // lib, so for the moment, return false. --jr
// --
// hehe, look at the else. This case is only used iff len == -1
// and bcsize == 0 (i.e. there is an EOF) --mihi
return false; return false;
} }
if ((bcsize < MAX_PACKET_SIZE) && (in.available() == 0)) { if ((bcsize < MAX_PACKET_SIZE) && (in.available() == 0)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment