summaryrefslogtreecommitdiff
path: root/contrib/auto-naming/build-approved-routers
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2007-11-29 11:20:26 +0000
committerPeter Palfrader <peter@palfrader.org>2007-11-29 11:20:26 +0000
commit423293dead2208aba3428e0b7add48416c34cef4 (patch)
tree011590259a84167fcaf4f74604a63f13f2233168 /contrib/auto-naming/build-approved-routers
parent30cbcaecc55dcce728a7ddc970574d2dc8f1c536 (diff)
downloadtor-423293dead2208aba3428e0b7add48416c34cef4.tar.gz
tor-423293dead2208aba3428e0b7add48416c34cef4.zip
Make dbhost configureable
svn:r12600
Diffstat (limited to 'contrib/auto-naming/build-approved-routers')
-rwxr-xr-xcontrib/auto-naming/build-approved-routers2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/auto-naming/build-approved-routers b/contrib/auto-naming/build-approved-routers
index 4bbf8e7795..805321f208 100755
--- a/contrib/auto-naming/build-approved-routers
+++ b/contrib/auto-naming/build-approved-routers
@@ -30,7 +30,7 @@ require 'db-config'
verbose = ARGV.first == "-v"
-db = Db.new($CONFIG['database']['dbname'], $CONFIG['database']['user'], $CONFIG['database']['password'])
+db = Db.new($CONFIG['database']['dbhost'], $CONFIG['database']['dbname'], $CONFIG['database']['user'], $CONFIG['database']['password'])
db.transaction_begin
named = db.query2("