From 2bcc4aed2a90415fb2cd5e072ca8ae490e7c9912 Mon Sep 17 00:00:00 2001 From: "dmose%mozilla.org" Date: Tue, 13 Sep 2005 02:22:38 +0000 Subject: [PATCH] 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 --- mozilla/directory/xpcom/tests/ldapshell.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/directory/xpcom/tests/ldapshell.js b/mozilla/directory/xpcom/tests/ldapshell.js index b6a925fd8b3..06136ffaec6 100644 --- a/mozilla/directory/xpcom/tests/ldapshell.js +++ b/mozilla/directory/xpcom/tests/ldapshell.js @@ -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();