simplify deref expression

Change-Id: I1738c7c47e79b460f3c13626b1af9e96eb26f73f
This commit is contained in:
Brad Fitzpatrick 2012-05-14 01:40:05 +10:00
parent f70cbb4c05
commit 87059405ea
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ func main() {
ws := webserver.New()
baseURL := config.RequiredString("baseURL")
listen := *(webserver.Listen)
listen := *webserver.Listen
if listen == "" {
// if command line was empty, use value in config
listen = strings.TrimLeft(baseURL, "http://")