diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-10 22:39:56 +0000 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-22 22:30:37 +0000 |
| commit | fcc7dcb1762bbc01ef0088b4cc866ca712622e3a (patch) | |
| tree | 8da31905b787a336433e8c262d54db7b7f391403 /examples/general.c | |
| parent | 115a6c50c9c67bdf952304a3ed6a24673b42b815 (diff) | |
| download | libgit2-fcc7dcb1762bbc01ef0088b4cc866ca712622e3a.tar.gz | |
errors: remove giterr usage in examples
Diffstat (limited to 'examples/general.c')
| -rw-r--r-- | examples/general.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/general.c b/examples/general.c index 7080cde4f..0b93a2e2f 100644 --- a/examples/general.c +++ b/examples/general.c @@ -66,7 +66,7 @@ static void config_files(const char *repo_path, git_repository *repo); */ static void check_error(int error_code, const char *action) { - const git_error *error = giterr_last(); + const git_error *error = git_error_last(); if (!error_code) return; |
