From 29e84b1aeb790d75d78d0f446572b063e842f8ea Mon Sep 17 00:00:00 2001 From: jim teeuwen Date: Mon, 23 May 2011 15:18:45 +0200 Subject: [PATCH] Fix for weekly.2011-05-22 --- document.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document.go b/document.go index 8f0cc4d..f4d65d2 100644 --- a/document.go +++ b/document.go @@ -172,7 +172,7 @@ func (this *Document) LoadFile(filename string) (err os.Error) { // Load the contents of this document from the supplied uri. func (this *Document) LoadUri(uri string) (err os.Error) { var r *http.Response - if r, _, err = http.Get(uri); err != nil { + if r, err = http.Get(uri); err != nil { return }