From 1b7167335e4f106fbd82d1306d313c4f33e41183 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Thu, 30 Jul 2015 14:40:39 +0100 Subject: [PATCH] Fixing build issues --- main.go | 2 +- web.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 77d4251..27a94d0 100644 --- a/main.go +++ b/main.go @@ -144,7 +144,7 @@ func PerformStartupChecks() { func Verbose(msg string) { if dj.verbose { - fmt.Printf(msg) + fmt.Printf(msg + "\n") } } diff --git a/web.go b/web.go index 3218c5e..e951c39 100644 --- a/web.go +++ b/web.go @@ -28,7 +28,7 @@ type Page struct { var external_ip = "" func Webserver(port int) *WebServer { - webserver := new(WebServer) + webserver := new(WebServer{}) webserver.port = port webserver.client_token = make(map[*gumble.User]string)