Fix for weekly.2011-05-22
This commit is contained in:
		
							parent
							
								
									ea7fc45209
								
							
						
					
					
						commit
						29e84b1aeb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue