make it compile

This commit is contained in:
Jeff Becker
2016-01-28 10:46:09 -05:00
parent 67d49585af
commit 5cf389a79d
8 changed files with 110 additions and 32 deletions

View File

@ -4,7 +4,7 @@ import (
"github.com/bounce-chat/go-i2p/lib/router"
"github.com/golang/glog"
log "github.com/golang/glog"
"flag"
)
@ -14,13 +14,13 @@ func main() {
flag.Parse()
glog.Info("parsing i2p router configuration")
log.Info("parsing i2p router configuration")
glog.Info("starting up i2p router")
log.Info("starting up i2p router")
r, err := router.CreateRouter()
if err == nil {
r.Run()
} else {
glog.Errorf("failed to create i2p router: %s", err)
log.Errorf("failed to create i2p router: %s", err)
}
}