gofmt -s; fix misspellings and lint; Go 1.5.3 in Travis CI

This commit is contained in:
Matthew Holt
2016-02-14 00:10:57 -07:00
parent a11e14aca8
commit cae9f7de9c
16 changed files with 61 additions and 62 deletions

View File

@ -336,7 +336,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if err != nil {
remoteHost = r.RemoteAddr
}
w.WriteHeader(http.StatusNotFound)
fmt.Fprintf(w, "No such host at %s", s.Server.Addr)
log.Printf("[INFO] %s - No such host at %s (requested by %s)", host, s.Server.Addr, remoteHost)