summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimportd/rhimportd.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/helsinki.at/rhimportd/rhimportd.go')
-rw-r--r--src/helsinki.at/rhimportd/rhimportd.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/helsinki.at/rhimportd/rhimportd.go b/src/helsinki.at/rhimportd/rhimportd.go
index a2bce7b..b73df95 100644
--- a/src/helsinki.at/rhimportd/rhimportd.go
+++ b/src/helsinki.at/rhimportd/rhimportd.go
@@ -26,15 +26,11 @@ package main
import (
"flag"
- "helsinki.at/rhimport"
- "log"
"os"
"os/signal"
"sync"
)
-var rhl = log.New(os.Stderr, "[rhimportd]\t", log.LstdFlags)
-
func main() {
addr_s := flag.String("addr", ":4000", "addr:port to listen on, default: ':4000'")
help := flag.Bool("help", false, "show usage")
@@ -51,7 +47,7 @@ func main() {
go func() {
defer wg.Done()
rhl.Println("start web-srv")
- rhimport.ServeWeb(*addr_s)
+ StartControlWeb(*addr_s)
rhl.Println("web finished")
}()