Skip to content

Commit

Permalink
Don't abort on all http response failures
Browse files Browse the repository at this point in the history
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Oct 5, 2008
1 parent 8ea8e41 commit a6d42f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.c
Expand Up @@ -57,7 +57,7 @@ static int process_http_response(struct openconnect_info *vpninfo, int *result,

if (openconnect_SSL_gets(vpninfo->https_ssl, buf, sizeof(buf)) < 0) {
vpninfo->progress(vpninfo, PRG_ERR, "Error fetching HTTPS response\n");
exit(1);
return -EINVAL;
}

cont:
Expand Down

0 comments on commit a6d42f4

Please sign in to comment.