forked from boyska/circolog
tiny reformatting
This commit is contained in:
parent
86bdeed4a2
commit
7704c5ac70
1 changed files with 1 additions and 2 deletions
|
@ -35,6 +35,7 @@ func main() {
|
|||
|
||||
hub := circolog.NewHub(*bufsize)
|
||||
handler := syslog.NewChannelHandler(hub.LogMessages)
|
||||
go hub.Run()
|
||||
|
||||
server := syslog.NewServer()
|
||||
server.SetFormat(syslog.RFC5424)
|
||||
|
@ -57,7 +58,6 @@ func main() {
|
|||
fmt.Fprintln(os.Stderr, "argh", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
go hub.Run()
|
||||
|
||||
setupHTTP(hub)
|
||||
httpServer := http.Server{Handler: nil}
|
||||
|
@ -94,7 +94,6 @@ func main() {
|
|||
fmt.Fprintln(os.Stderr, "Error closing http server:", err)
|
||||
}
|
||||
return
|
||||
default:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue