1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:04:40 -07:00

fix windows build: http.Get finalURL removal missed earlier

Not sure why this only broke Windows. Make test is only run
on windows for that directory?

TBR=golang-dev

R=golang-dev
CC=golang-dev
https://golang.org/cl/4545044
This commit is contained in:
Brad Fitzpatrick 2011-05-13 18:56:39 -07:00
parent c35c672020
commit b2400c28cf

View File

@ -258,7 +258,7 @@ func loadChars() {
if *dataURL == "" {
flag.Set("data", *url+"UnicodeData.txt")
}
resp, _, err := http.Get(*dataURL)
resp, err := http.Get(*dataURL)
if err != nil {
logger.Fatal(err)
}
@ -549,7 +549,7 @@ func printScriptOrProperty(doProps bool) {
return
}
var err os.Error
resp, _, err := http.Get(*url + file)
resp, err := http.Get(*url + file)
if err != nil {
logger.Fatal(err)
}