1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-21 23:32:51 +00:00

Small fix

This commit is contained in:
M66B 2024-11-08 20:40:05 +01:00
parent 02534a4416
commit 9c10b9658a

View file

@ -16,6 +16,8 @@
package com.sun.mail.iap;
import android.text.TextUtils;
import java.util.Properties;
import java.io.*;
import java.nio.channels.SocketChannel;
@ -680,6 +682,8 @@ public class Protocol {
localHostName = "[" + localHost.getHostAddress() + "]";
}
}
if (TextUtils.isEmpty(localHostName))
localHostName = "localhost";
return localHostName;
}