]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/godoc: fix app engine version
authorAndrew Gerrand <adg@golang.org>
Mon, 26 Mar 2012 23:10:25 +0000 (10:10 +1100)
committerAndrew Gerrand <adg@golang.org>
Mon, 26 Mar 2012 23:10:25 +0000 (10:10 +1100)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5902060

src/cmd/godoc/appinit.go

index 4096a4f224a9047b77f346e357aaa59657561720..70da001100ad832ea948aae73269d7d9d74683d8 100644 (file)
@@ -19,7 +19,7 @@ import (
 func serveError(w http.ResponseWriter, r *http.Request, relpath string, err error) {
        contents := applyTemplate(errorHTML, "errorHTML", err) // err may contain an absolute path!
        w.WriteHeader(http.StatusNotFound)
-       servePage(w, "File "+relpath, "", "", contents)
+       servePage(w, relpath, "File "+relpath, "", "", contents)
 }
 
 func init() {