rrda

REST API allowing to perform DNS queries over HTTP
Log | Files | Refs | README | LICENSE

commit 045127c2fb6644b075c12a97f42e13f22429d2a7
parent 7035b7a79560d9e0643ee64b971517ff42028d1d
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri,  3 Feb 2017 22:01:37 +0100

Formatting fixes

Diffstat:
Mrrda.go | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rrda.go b/rrda.go @@ -172,7 +172,7 @@ func main() { flag.Usage = func() { fmt.Println(header) - fmt.Println("\nUSAGE :") + fmt.Println("\nUSAGE:") flag.PrintDefaults() } flag.Parse() @@ -189,12 +189,12 @@ func main() { listener, _ := net.Listen("tcp", *host+":"+*port) if err := fcgi.Serve(listener, m); err != nil { - fmt.Println("\nERROR :", err) + fmt.Println("\nERROR:", err) os.Exit(1) } } else { if err := http.ListenAndServe(*host+":"+*port, m); err != nil { - fmt.Println("\nERROR :", err) + fmt.Println("\nERROR:", err) os.Exit(1) } }