зеркало из https://github.com/mozilla/pjs.git
Bugzilla Bug 168226 XPCOM Wrapper does not support ldap port numbers greater than 32k, r=Pete Zha, sr=Henry Jia
fixed by wind.li@sun.com checked in by Simford.Dong@Sun.COM
This commit is contained in:
Родитель
92ccceaf8d
Коммит
9eac5eb215
|
@ -75,7 +75,7 @@ interface nsILDAPConnection : nsISupports
|
|||
* @exception NS_ERROR_FAILURE
|
||||
* @exception NS_ERROR_UNEXPECTED internal error
|
||||
*/
|
||||
void init(in string aHost, in short aPort, in boolean aSSL,
|
||||
void init(in string aHost, in long aPort, in boolean aSSL,
|
||||
in AUTF8String aBindName,
|
||||
in nsILDAPMessageListener aMessageListener,
|
||||
in nsISupports aClosure);
|
||||
|
|
|
@ -164,7 +164,7 @@ nsLDAPConnection::Release(void)
|
|||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsLDAPConnection::Init(const char *aHost, PRInt16 aPort, PRBool aSSL,
|
||||
nsLDAPConnection::Init(const char *aHost, PRInt32 aPort, PRBool aSSL,
|
||||
const nsACString& aBindName,
|
||||
nsILDAPMessageListener *aMessageListener,
|
||||
nsISupports *aClosure)
|
||||
|
|
|
@ -119,7 +119,7 @@ class nsLDAPConnection : public nsILDAPConnection,
|
|||
nsSupportsHashtable *mPendingOperations; // keep these around for callbacks
|
||||
nsLDAPConnectionLoop *mRunnable; // nsIRunnable object
|
||||
|
||||
PRInt16 mPort; // The LDAP port we're binding to
|
||||
PRInt32 mPort; // The LDAP port we're binding to
|
||||
PRBool mSSL; // the options
|
||||
|
||||
nsCString mResolvedIP; // Preresolved list of host IPs
|
||||
|
|
Загрузка…
Ссылка в новой задаче