Fix for weekly.2011-05-22

This commit is contained in:
jim teeuwen 2011-05-23 15:18:45 +02:00
parent ea7fc45209
commit 29e84b1aeb
1 changed files with 1 additions and 1 deletions

View File

@ -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
}