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

This commit is contained in:
dmose%mozilla.org 2005-09-13 02:22:38 +00:00
Родитель aee3973978
Коммит 05c7cb57c2
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -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();