diff options
Diffstat (limited to 'community/cargo/tests-fix-build-auth-http_auth_offered.patch')
-rw-r--r-- | community/cargo/tests-fix-build-auth-http_auth_offered.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/cargo/tests-fix-build-auth-http_auth_offered.patch b/community/cargo/tests-fix-build-auth-http_auth_offered.patch index 8543c2897e..17b79e8c1e 100644 --- a/community/cargo/tests-fix-build-auth-http_auth_offered.patch +++ b/community/cargo/tests-fix-build-auth-http_auth_offered.patch @@ -22,9 +22,9 @@ the same as actually used libgit2... let mut conn = BufStream::new(server.accept().unwrap().0); let req = headers(&mut conn); - let user_agent = if cfg!(windows) { -- "User-Agent: git/1.0 (libgit2 0.25.0)" +- "User-Agent: git/1.0 (libgit2 0.26.0)" - } else { -- "User-Agent: git/2.0 (libgit2 0.25.0)" +- "User-Agent: git/2.0 (libgit2 0.26.0)" - }; conn.write_all(b"\ HTTP/1.1 401 Unauthorized\r\n\ |