mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-06 08:47:46 +00:00
Fixing a code style issue
This commit is contained in:
parent
2af282d835
commit
61189a115b
@ -773,10 +773,9 @@ int git_remote__get_http_proxy(git_remote *remote, bool use_ssl, char **proxy_ur
|
||||
/* http_proxy / https_proxy environment variables */
|
||||
error = git__getenv(&val, use_ssl ? "https_proxy" : "http_proxy");
|
||||
|
||||
if (error == GIT_ENOTFOUND) {
|
||||
/* try uppercase environment variables */
|
||||
/* try uppercase environment variables */
|
||||
if (error == GIT_ENOTFOUND)
|
||||
error = git__getenv(&val, use_ssl ? "HTTPS_PROXY" : "HTTP_PROXY");
|
||||
}
|
||||
|
||||
if (error < 0) {
|
||||
if (error == GIT_ENOTFOUND) {
|
||||
|
Loading…
Reference in New Issue
Block a user