Commit 5eb2b0b31b8994265a5125595a5830bb0981b3c6

Edward Thomson 2021-08-30T08:27:27

httpclient: actually return `GIT_EAUTH`

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/transports/httpclient.c b/src/transports/httpclient.c
index 4612b43..d40c162 100644
--- a/src/transports/httpclient.c
+++ b/src/transports/httpclient.c
@@ -598,7 +598,6 @@ static int apply_credentials(
 	} else if (!token.size) {
 		git_error_set(GIT_ERROR_HTTP, "failed to respond to authentication challenge");
 		error = GIT_EAUTH;
-		error = -1;
 		goto done;
 	}