Allow the caller to specify the port to the LDAP testing harness. Not part of the build.

git-svn-id: svn://10.0.0.236/trunk@180095 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dmose%mozilla.org
2005-09-13 02:22:38 +00:00
parent 3d9d0f8878
commit 2bcc4aed2a

View File

@@ -204,7 +204,7 @@ function URLFromSpec(spec)
* convenience method for setting up the global connection "conn"
*/
var conn;
function createConn(host, bindname) {
function createConn(host, port, bindname) {
dump("in createConn\n");
@@ -218,7 +218,7 @@ function createConn(host, bindname) {
}
dump("about to call conn.init\n");
conn.init(host, -1, false, bindname, listener, null, 3);
conn.init(host, port, false, bindname, listener, null, 3);
dump("about to call runEventPump\n");
runEventPump();