From: Brad Fitzpatrick Date: Sat, 14 May 2011 01:56:39 +0000 (-0700) Subject: fix windows build: http.Get finalURL removal missed earlier X-Git-Tag: weekly.2011-05-22~70 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b2400c28cffd3ca1beda6176efd663a9df3aad1a;p=gostls13.git 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 --- diff --git a/src/pkg/unicode/maketables.go b/src/pkg/unicode/maketables.go index 0c367673ec..33a8268622 100644 --- a/src/pkg/unicode/maketables.go +++ b/src/pkg/unicode/maketables.go @@ -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) }