mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-09 20:58:07 -05:00
Actually use the port specified by the user in EasStore.java.
This commit is contained in:
parent
e97c341e09
commit
ba6fc665a8
@ -253,9 +253,10 @@ public class EasStore extends Store {
|
|||||||
private Double mProtocolVersionDouble = null;
|
private Double mProtocolVersionDouble = null;
|
||||||
private String mDeviceId = null;
|
private String mDeviceId = null;
|
||||||
private Object mInitializationLock = new Object();
|
private Object mInitializationLock = new Object();
|
||||||
private final String mDeviceType = "Android";
|
private final String mDeviceType = "K9Mail";
|
||||||
|
|
||||||
private String mHost;
|
private String mHost;
|
||||||
|
private int mPort;
|
||||||
private String mUsername;
|
private String mUsername;
|
||||||
private String mPassword;
|
private String mPassword;
|
||||||
private short mConnectionSecurity;
|
private short mConnectionSecurity;
|
||||||
@ -277,6 +278,7 @@ public class EasStore extends Store {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mHost = settings.host;
|
mHost = settings.host;
|
||||||
|
mPort = settings.port;
|
||||||
mUsername = settings.username;
|
mUsername = settings.username;
|
||||||
mPassword = settings.password;
|
mPassword = settings.password;
|
||||||
|
|
||||||
@ -667,7 +669,7 @@ public class EasStore extends Store {
|
|||||||
boolean mSsl = true;
|
boolean mSsl = true;
|
||||||
boolean mTrustSsl = false;
|
boolean mTrustSsl = false;
|
||||||
String us = (mSsl ? (mTrustSsl ? "httpts" : "https") : "http") + "://" + mHost +
|
String us = (mSsl ? (mTrustSsl ? "httpts" : "https") : "http") + "://" + mHost +
|
||||||
"/Microsoft-Server-ActiveSync";
|
":" + Integer.toString(mPort) + "/Microsoft-Server-ActiveSync";
|
||||||
if (cmd != null) {
|
if (cmd != null) {
|
||||||
us += "?Cmd=" + cmd + mCmdString;
|
us += "?Cmd=" + cmd + mCmdString;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user