mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Small improvement
This commit is contained in:
@@ -447,9 +447,12 @@ public class DnsHelper {
|
||||
|
||||
InputStream is = socket.getInputStream();
|
||||
int hi = is.read();
|
||||
int lo = is.read();
|
||||
if (hi < 0 || lo < 0)
|
||||
if (hi < 0)
|
||||
throw new IOException("EOF");
|
||||
int lo = is.read();
|
||||
if (lo < 0)
|
||||
throw new IOException("EOF");
|
||||
|
||||
int len = hi * 256 + lo;
|
||||
byte[] in = new byte[len];
|
||||
int i = 0;
|
||||
|
||||
Reference in New Issue
Block a user