summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-04 03:14:31 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-04 03:14:41 +0000
commit378516380c55601bf11becbcc7a3e7c8a887c2cf (patch)
tree5b3de94127914dd55e4744fbc4c1bc3b311bda50
parentRemove pointless db parameter (diff)
downloadgentoobrowse-api-0.10.0.3.tar.bz2
gentoobrowse-api-0.10.0.3.tar.xz
gentoobrowse-api-0.10.0.3.zip
Swap out deprecated giterr_last for git_error_lastgentoobrowse-api-0.10.0.3
-rw-r--r--gentoobrowse-api/service/utils/git.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/utils/git.cpp b/gentoobrowse-api/service/utils/git.cpp
index 6e2e04e..fa0e191 100644
--- a/gentoobrowse-api/service/utils/git.cpp
+++ b/gentoobrowse-api/service/utils/git.cpp
@@ -9,7 +9,7 @@ namespace Gentoo {
void
throwError(void * const func, int err)
{
- const git_error * e = giterr_last();
+ const git_error * e = git_error_last();
char ** fn = backtrace_symbols(&func, 1);
assert(fn);
assert(*fn);