Skip to content

Commit

Permalink
curl: avoid max-redirect error
Browse files Browse the repository at this point in the history
  • Loading branch information
syngan committed Dec 18, 2015
1 parent 82f8b68 commit 774defa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/vital/_6eda460/web/http.vim
Expand Up @@ -275,7 +275,7 @@ function! s:clients.curl(settings, quote)
else
let content = s:_readfile(output_file)
endif
if retcode != 0
if retcode != 0 && retcode != 47
if !has_key(s:cerr, retcode)
let retcode = -1
endif
Expand Down

0 comments on commit 774defa

Please sign in to comment.