diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2018-12-27 13:47:34 -0600 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-22 22:30:35 +0000 |
| commit | f673e232afe22eb865cdc915e55a2df6493f0fbb (patch) | |
| tree | e79e3e6fb1e1d78367679aea75e66c8141b4daa8 /src/idxmap.c | |
| parent | 647dfdb42d06514a85c1499f1be88a32b8a4c24b (diff) | |
| download | libgit2-f673e232afe22eb865cdc915e55a2df6493f0fbb.tar.gz | |
git_error: use new names in internal APIs and usage
Move to the `git_error` name in the internal API for error-related
functions.
Diffstat (limited to 'src/idxmap.c')
| -rw-r--r-- | src/idxmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idxmap.c b/src/idxmap.c index edf8fff5a..3a5fc105a 100644 --- a/src/idxmap.c +++ b/src/idxmap.c @@ -35,7 +35,7 @@ __KHASH_IMPL(idxicase, static kh_inline, const git_index_entry *, git_index_entr int git_idxmap_alloc(git_idxmap **map) { if ((*map = kh_init(idx)) == NULL) { - giterr_set_oom(); + git_error_set_oom(); return -1; } @@ -45,7 +45,7 @@ int git_idxmap_alloc(git_idxmap **map) int git_idxmap_icase_alloc(git_idxmap_icase **map) { if ((*map = kh_init(idxicase)) == NULL) { - giterr_set_oom(); + git_error_set_oom(); return -1; } |
