Skip to content

Commit 61189a1

Browse files
committed
Fixing a code style issue
1 parent 2af282d commit 61189a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/remote.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,10 +773,9 @@ int git_remote__get_http_proxy(git_remote *remote, bool use_ssl, char **proxy_ur
773773
/* http_proxy / https_proxy environment variables */
774774
error = git__getenv(&val, use_ssl ? "https_proxy" : "http_proxy");
775775

776-
if (error == GIT_ENOTFOUND) {
777-
/* try uppercase environment variables */
776+
/* try uppercase environment variables */
777+
if (error == GIT_ENOTFOUND)
778778
error = git__getenv(&val, use_ssl ? "HTTPS_PROXY" : "HTTP_PROXY");
779-
}
780779

781780
if (error < 0) {
782781
if (error == GIT_ENOTFOUND) {

0 commit comments

Comments
 (0)