summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Spahr-Summers <Justin.SpahrSummers@gmail.com>2012-11-05 11:01:00 -0800
committerJustin Spahr-Summers <Justin.SpahrSummers@gmail.com>2012-11-05 11:01:00 -0800
commitc1cd036e409b874932f3da83624809e0a9bc9b47 (patch)
tree2ae13dad0abb45da74688c3c5015b057048eda91
parent6edefa149126955dbdf1c866ef5b2ec85be5031a (diff)
downloadlibgit2-empty-remote-url-crash.tar.gz
'geterr' -> 'giterr'empty-remote-url-crash
-rw-r--r--src/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c
index 714e2f0a9..a873a27b6 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -133,7 +133,7 @@ int git_remote_load(git_remote **out, git_repository *repo, const char *name)
goto cleanup;
if (!val) {
- geterr_set(GITERR_INVALID, "Malformed remote '%s' - missing URL", name);
+ giterr_set(GITERR_INVALID, "Malformed remote '%s' - missing URL", name);
error = -1;
goto cleanup;
}