We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee558c1 + 50dcbe0 commit 70d7471Copy full SHA for 70d7471
src/remote_callbacks.rs
@@ -290,7 +290,7 @@ extern "C" fn credentials_cb(
290
291
callback(url, username_from_url, cred_type).map_err(|e| {
292
let s = CString::new(e.to_string()).unwrap();
293
- raw::git_error_set_str(e.raw_code() as c_int, s.as_ptr());
+ raw::git_error_set_str(e.class() as c_int, s.as_ptr());
294
e.raw_code() as c_int
295
})
296
});
0 commit comments