summaryrefslogtreecommitdiff
path: root/examples/network/fetch.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-12-21 15:30:46 -0800
committerBen Straub <bs@github.com>2012-12-21 15:30:46 -0800
commit69d1bd9125b27b9d4b408534ca850ed5e509faa4 (patch)
tree9944d0203bc9c440c9705e2b65748ff916ebf93e /examples/network/fetch.c
parent2808ec9ab47d5a78bf0b0ebd8435b1c92a594307 (diff)
downloadlibgit2-69d1bd9125b27b9d4b408534ca850ed5e509faa4.tar.gz
Fix examples
Diffstat (limited to 'examples/network/fetch.c')
-rw-r--r--examples/network/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/fetch.c b/examples/network/fetch.c
index f81c4fafe..2de58169d 100644
--- a/examples/network/fetch.c
+++ b/examples/network/fetch.c
@@ -76,7 +76,7 @@ int fetch(git_repository *repo, int argc, char **argv)
// Figure out whether it's a named remote or a URL
printf("Fetching %s for repo %p\n", argv[1], repo);
if (git_remote_load(&remote, repo, argv[1]) < 0) {
- if (git_remote_create_inmemory(&remote, repo, NULL, argv[1], NULL) < 0)
+ if (git_remote_create_inmemory(&remote, repo, argv[1], NULL) < 0)
return -1;
}