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:
simford.dong%sun.com 2003-10-15 02:23:26 +00:00
Родитель 92ccceaf8d
Коммит 9eac5eb215
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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